"We all love Paul Hegarty." Stanford IOS8 public class personal note 1 IOS8 overview

Source: Internet
Author: User

First of all, I would like to thank NetEase Open Class and Swiftv class friends of the hard translation, this series is my study of Stanford IOS8 Open class personal experience and notes, hoping to bring inspiration to everyone.


First we need to know the structure of the iOS system, from the close to the bottom of the hardware to close to the user's top level, divided into four levels:

1.Core OS layer on the lowest level, many people may not know that iOS is a UNIX-based operating system, it borrows heavily from the kernel part of Mac OS X, Mac OS X We are certainly not unfamiliar, the command line is used well to prove that it is a UNIX-based system. iOS has systematically optimized hardware such as batteries for mobile devices, but it can still be seen as a UNIX system. This includes Sockets (sockets), Permission (permissions), and so on, at the bottom of the core OS layer. It is close to the underlying hardware and is guaranteed to work properly.


2. The object-oriented layer, in which you can use a large number of object-oriented technologies, which do not include the UI, more through the use of object-oriented access to hardware or network. It is a very large layer and we need a lot of time to learn because these primitive components are needed to build higher layers.


3. The third layer is the media layer, such as the familiar ipeg such as static images, video shooting and processing, the incredible audio frame for handling 3D sound and games and so on.


4. We will spend a lot of time on the cocoa Touch layer, which contains some of the controls we use, such as buttons, text boxes, and so on, complicated with browsers and maps, and you just have to drag and drop them into your page to get the most out of them.




For the development of IOS8, we need to use Xcode 6, which is a very powerful code editor. Language we have two languages to choose from, one is objective-c, the language has been used for 25-30 years, very mature, but it is 25-30 years old! Last summer Apple released the new language Swift, you can use it to develop all iOS applications, for its birth Apple has done a lot of efforts, Swift absorbed a lot of existing programming language advantages. It has a syntax profile, type safety, and type inference as well as a number of features.

In addition we need to learn some framework of knowledge, UIKit, which is the main framework for page development. Foundation, which is often mentioned in the core service layer. The Core motion framework handles device movement, rotation, gyro, and so on. The CoreData framework is used for object-oriented operations.

These things will be said later, the first thing to say is still mvc,ios from the beginning of the use of MVC. Next look at today's demo:




"We all love Paul Hegarty." Stanford IOS8 public class personal note 1 IOS8 overview

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.