Inheritance relationships between cocoa framework classes

Source: Internet
Author: User
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:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.