IPhone programming introduction tutorial

Source: Internet
Author: User

IPhone ProgrammingThe introduction course is the content to be introduced in this article. Before developing the iphone, you must first understandIphoneProgramming. Let's first look at the details. Mac is not only a gorgeous appearance, but also a solid and beautiful heart.

First, I posted a picture to introduce Layers in Mac system programming.

The layers in the figure provide some calling interfaces for developers. Through these interfaces, we can call some functions or frameworks of the system to implement the functions we need.

1. Kernel & Driver

This layer provides some hardware interfaces, such as how to use some features of the hardware to complete some functions.

2. Core OS

Provides some underlying system services that cannot be called at the core service layer. Calls such as AGL and OpenCL

3. Core Services

At this layer, you can obtain some basic services provided by Mac OS X, such as reading files and configuring network socket,

4. Media

This layer provides some multimedia methods

5. Cocoa

An event-driven user interface is implemented. By programming through Cocoa, you can use very few code to complete beautiful functions without worrying about too many details.

Cocoa Touch is used for iPhone OS because mobile devices do not drag windows like Mac OS X, and there is no menu bar.

It is a simple window and supports touch.

Tools

Apple's IDE is very beautiful and practical, making programming completely a pleasure.

Xcode is used to write code, and Interface Builder is used to create interfaces,

They work well together.

CocoaThe framework is implemented using Objectice C encoding, so we basically use Objective C language when writing code.

Summary:IPhone ProgrammingThe introduction course 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.