Anatomy of the iphone app

Source: Internet
Author: User

Study a Mac application and you will find that the. app extension represents not a file, but a directory. This directory is the application's program directory. In this directory there is an organized structure that contains the resources required for the application to run, the list of application-related attributes, and the executable binaries of the application. The binary executable of the iphone SDK Builder and save the files it needs in the directory structure of the program. Therefore, in order to build a complete application, developers need to tell the Xcode IDE which supporting files need to be installed. On the iphone, the application executes in the sandbox. A sandbox is a restricted environment that prohibits applications from accessing unauthorized resources. One function of the sandbox is to disallow any read and write operations outside the home directory specified by the application. Everything needed to run the program must be contained within the body's directory structure. In addition, the application does not know its installation location, and each time a unique identity is added to your application path. An application can only find a path by nshomedirectory such a function or a class such as NSBundle.

Anatomy of the iphone app

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.