IPhone SDK details

Source: Internet
Author: User

IPhone SDKThis section describes the content of this article, including Xcode IDE, iPhone simulator, and a series of other tools. Officially Released by AppleIPhone SDKThis part of the underlying API is packaged, and the user's program can only beIPhone SDKClass defined in.

The most obvious example is OpenGL ES. In the iPhone SDK officially released by Apple, OpenGL ES actually communicates with the CoreSurface framework in the underlying API to implement rendering. Disadvantages of Apple's official iPhone SDK: CoreSurface hardware display device), Celestial hardware and audio devices), and almost all other hardware-related processing methods cannot be implemented, and background running programs cannot be developed; code signature is required for debugging on the real machine. It can only be developed on Leopard 10.5.2 or later and on Inter Mac machines.

Advantages of Apple's official iPhone SDK: the development environment is almost the same as Mac software development: the same XCode, Interface Builder, and Instruments tools; the latest iPhone SDK can be created using Interface Builder; environment setup is very easy; code signature is required to avoid malware.

Software developed using the official iPhone SDK must be approved by Apple and can be published in the App Store program built into the iPhone in the future. You can download the software directly from the App Store or through iTunes and install it on the iPhone.

IPhone SDKIPhone framework based on development

In general, the iPhone program has two types of frameworks: one is the game framework and the other is the non-game framework. Here we will introduce the non-game framework, that is, the program framework based on the standard controls of the iPhone user interface.

A typical iPhone program contains a Window and several uiviewcontrollers. Each UIViewController manages multiple uiviews, such as UITableView, UIWebView, and UIImageView, as shown in 3-24. The UIViewController manages how to stack, display, hide, rotate, and move these uiviews, while the UIViewController switches between them, generally, UINavigationController, UITabBarController, or UISplitViewController is used for switching. Next, I will introduce how to use these three controllers to switch your UIViewController and how to organize and manage your various uiviews in UIViewController ,:

Summary: AboutIPhone SDKThe introduction is complete. I hope this article will help you!

Related Article

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.