The cocoa framework includes two core frameworks:FoundationAndApplication Kit(Uikit) framework.
It is necessary in cocoa development. For other frameworks (such:Core Data,Sync services,Address book,Preference
Panes,Screen Saver,Web Kit) Then Is auxiliary and optional; Foundation framework and Application
The KIT framework is differentiated by the user interface. If an object is neither displayed on the user interface nor used to support the user interface, it belongs to the foundation framework. The command line tool and internet server are examples of this.
Foundation Class LevelThe root is the nsobject class.It (together with nsobject and nscopying protocols) defines basic object attributes and behaviors. Remaining parts of the foundation frameworkIt consists of several groups of associated classes and some independent classes.. There are someClasses that represent basic data types, such as strings and byte Arrays; UsedCollection class for storing other objects; SomeClasses that represent system information, such as date classes; There are someClasses representing system entities, such as ports, threads, and processes.
Application Kit (uikit) Framework includesAll objects required for graphic and event-driven user interfaces: Windows, dialog boxes, buttons, menus, scroll bars, and text input boxes-This list is still being added. The Application Kit consists of over 125 classes and protocols. All classes are ultimately inherited from the nsobject class of the foundation framework. Application Kit helps you deal with all the details. It can efficiently describe the screen and communicate with building devices and screen buffers, clear the area on the screen and crop the view before plotting.
The iPhone is displayed from the back to the front according to the order in which the view is added. This shows that the view level is a space overlay. Foundation:
Application Kit: