AppKit: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
The '''Application Kit''', usually called '''AppKit'''<ref>[https://developer.apple.com/library/content/releasenotes/AppKit/RN-AppKit/index.html AppKit Release Notes for macOS 10.13]. Retrieved 23 Oct 2017.</ref>, is a [[graphical user interface]] toolkit on [[macOS]]. It comprises a collection of [[Objective-C]] [[Objective-C#Interface|classes]] and [[Objective-C#Protocols|protocols]] that can be used to build an application for the Mac. These classes can also be used in [[Swift (programming language)|Swift]] through its Objective-C bridge.
 
AppKit, along with [[Foundation Kit|Foundation]] and [[Core Data]], is part of [[Cocoa (API)|Cocoa]]. Accordingly, it relies heavily on patterns like [[Delegation (object-oriented programming)|delegation]], [[Target–action|target–action]], and [[Model–view–controller|model–view—controllermodel–view–controller]].
 
While AppKit is primarily associated with macOS, it was originally developed for use on [[NeXTSTEP]]<ref>[https://arstechnica.com/gadgets/2012/12/the-legacy-of-next-lives-on-in-os-x/ The legacy of NeXT lives on in OS X]</ref> (and, later, [[OPENSTEP]]). As in Foundation, its classes and protocols still use the "NS" prefix as as result of this heritage. An open-source clone of AppKit is maintained as part of [[GNUstep]] for various other Unix-based OSes.