Start developing iOS Apps today.pdf--Summary 1

Source: Internet
Author: User

Summary:

Took 3 days to read 2 times Apple's official introductory book, it feels very good, the first time is not very clear about some of the concepts inside, just bite the bullet and familiar with the concept of what is probably described, and then the sample app to do it, the second time with the program and the source code back to see, a lot of harvest.

Start developing iOS apps today.pdf This book has a total of 4 part, each part introduces some basic knowledge first, then provides a tutorial tutorial teaches you how to complete a simple todolist app, followed by 3 tutorial to play once the code about the development of iOS probably have a preliminary understanding, I personally have a special impression of MVC pattern, I used to do the site often use Spring MVC as a framework, the principle is the same, the program is divided into model, view, Controller three chunks, controller between model and view play the role of Gateway, model is mainly involved in the application of objects, custom class these The view can be a scene or a specific display on Main.storyboard that feeds the user's input.

View not only displays the content and responds to the user's input, but also serves as a container for other view, so there is a hierarchical structure (hierarchy) between multiple view, called view hierarchy (layer?). ), the view hierarchy is the Window object (just as the View Objects container, and it does not show anything), there are many types of views, the individual feel that can not be interpreted as a view only, The first mention of the role of view is to display the content to be displayed to the user, so views can also be subdivided into a particular label,button,toolbar, not just the entire scene as a view.

After designing a views, to view the function, it is necessary to set the view controller, through the controller to manage the view of the different levels of subview content.

Role of Controller:

1. Reconcile the app data model with the data displayed on the view

2. Manage the life cycle of content on view

3. When the device rotates, the processing direction changes

4. Feedback on user input

5. Remove or Replace views

Write the feeling to remember as Journal, hope to have progress every time ....

Start developing iOS Apps today.pdf--Summary 1

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.