IOS Study Notes: (1) Mac system-1.1 preschool notice

Source: Internet
Author: User

IOS Study Notes: (1) Mac system-1.1 preschool notice

1 introduction to the basic set of iOS development

1.1 iOS Introduction

IOS is an operating system developed by Apple for iPhone and other devices. It is mainly used for iPhone, iPod touch, and iPad. Just like the Mac OS X operating system, it is based on Darwin. The architecture of iPhone OS is divided into four layers: the Core OS layer, the Core Services layer, and the Media layer ), the Cocoa Touch layer ). See:

 

System Operations occupy approximately MB of storage space.

Apple announced the release of iPhone 4 that it should change the upgrade version of the iPhone OS3 operating system to iOS 4.

1.2 App Store Introduction

App Store does not have a very accurate definition, usually are understood as "using shops", but such a definition seems to be the App Store only as a Store application to define, it does not really reflect the central value of App Store as a "software as a service" and e-commerce sales platform.

App Store service providers establish a mobile phone value-added transaction platform through Internet, wireless Internet, and other channels based on the resources of partners in the industrial chain, we provide customers with one-stop sales services for various mobile phone digital products and services such as products, online use of mobile phones, Operator Services, and value-added services.

 

1.3 introduction to development

Xcode: iOS application development. You need to run Xcode on Mac OS X to develop things. Xcode is Apple's Development Kit, supporting project handling, code modification, building executable programs, code-level debugging, code edition, and function tuning. The center of this suite is Xcode, which provides a fundamental source code development environment. The following is the Xcode interface:

Interface Builder: use Interface Builder to install components required by drag and drop in the program window. Components include standard system controls, such as switches, text boxes, and buttons, and custom views to indicate the view provided by the program. After placing components on the window surface, drag them to determine the location, and use the inspector to set their characteristics and establish the connection between these targets and codes. When the interface is what you imagine, the content is saved in a nib file, which is a custom resource file pattern. See:

Simulator: The simulator provides Virtual Devices for iOS product development on Apple computers. Some functions can be directly debugged on the simulator. The simulator does not support GPS positioning, cameras, compass, and other hardware-related functions.

The simulator runs as follows:

1.4 Development Speech

Objective-C is a simple computer language (OC) developed by iPhone. It supports Objective-oriented programming.

Objective-C expands from the standardized ansi c language, and provides the definition class, method and characteristic syntax, and other layout to promote the dynamic expansion of the class. Class syntax and description refer to some of the first target-oriented programming languages Smalltalk.

There are many Objective-C syntaxes on the Internet that can be learned by downloading them.

2 Establishment of iOS development environment

2.1 iOS development environment

Xcode is developed by Apple and runs only the IDE on Mac OS X platform. Use Xcode to describe the logic of the program, and use Interface Builder to describe the Interface of the program.

For versions running Xcode 3.0 or later, Mac OS 10.5 or later is required.

Download needs to register the account of the iOS developer. After login, you can download the account. The size of the account is about 3.5 GB, including XCode, Interface Builder, and simulator.

3 Introduction to iOS software developer certificates

3.1 What is a software developer Certificate

Apple's development is free of charge, but the developed program needs to run on a real machine or be released to the AppStore (jailbreaking), and Apple's authorization is required.

The developer certificate is what the Mac Developer Program Member applies for and downloads the Mac application signature certificate. The purchase cost is $99. It involves the terms and conditions that Apple agrees with and must sign and return the contract. You can only test your program on the iPhone after registration, instead of the simulator on the screen. Once you become a developer, you will receive a certificate, with it, you can run it on your device.

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.