Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Cocoa (API)
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Main frameworks== Cocoa consists of three [[Objective-C]] object libraries called ''[[Application framework|frameworks]]''. Frameworks are functionally similar to [[Library (computer science)|shared libraries]], a compiled object that can be dynamically loaded into a program's address space at runtime, but frameworks add associated resources, header files, and documentation. The Cocoa frameworks are implemented as a type of [[bundle (macOS)|bundle]], containing the aforementioned items in standard locations. * ''[[Foundation Kit]]'' (''Foundation''), first appeared in Enterprise Objects Framework on NeXTSTEP 3.<ref>[http://www.cilinder.be/docs/next/NeXTStep/3.3/nd/Foundation/HybridWorld.htmld/index.html HybridWorld]. Cilinder.be. Retrieved on September 18, 2013.</ref> It was developed as part of the OpenStep work, and subsequently became the basis for OpenStep's AppKit when that system was released in 1994. On macOS, Foundation is based on [[Core Foundation]]. Foundation is a generic object-oriented library providing [[string (computer science)|string]] and value manipulation, [[container (data structure)|containers]] and [[iteration]], [[distributed computing]], [[event loop]]s (run loops), and other functions that are not directly tied to the graphical user interface. The "NS" prefix, used for all classes and [[constant (programming)|constants]] in the framework, comes from Cocoa's OPENSTEP heritage, which was jointly developed by NeXT and [[Sun Microsystems]]. * ''[[Application Kit]]'' (''AppKit'') is directly descended from the original NeXTSTEP Application Kit. It contains code programs can use to create and interact with [[graphical user interface]]s. AppKit is built on top of Foundation, and uses the same ''NS'' prefix. * ''[[Core Data]]'' is the object persistence framework included with Foundation and Cocoa and found in Cocoa.h.<ref name="apple1"/> A key part of the Cocoa architecture is its comprehensive views model. This is organized along conventional lines for an application framework, but is based on the [[Portable Document Format]] (PDF) drawing model provided by [[Quartz (graphics layer)|Quartz]]. This allows creating custom drawing content using [[PostScript]]-like drawing commands, which also allows automatic printer support and so forth. Since the Cocoa framework manages all the clipping, scrolling, scaling and other chores of drawing graphics, the programmer is freed from implementing basic infrastructure and can concentrate on the unique aspects of an application's content.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Cocoa (API)
(section)
Add topic