Architecture for iOS

Source: Internet
Author: User

Based on years of experience in iOS development, the most common iOS development architectures are: MVC, MVVM, CDD, and so on, which I don't list here.

To do a project in general the first to build a mainstream framework interface: The common Tabbar Controller can switch the sub-controller, and there is a navigation navigation bar of the mainstream framework, there is a left and right side to control the main framework of self-controller.

The next step is to build the project main frame

1, first build Tabbarcontroller (there is a bar below)

2, re-build Navigationcontroller (there is a bar, and each sub-controller is not the same)

Thinking about how to develop

1, Storyboard Construction (use when the interface is very small)

2, Pure Code building (interface more than 5 times use, easy to manage, commercial projects, generally use this way)

Then we build the self-controller architecture that needs to be built according to the MVC idea.

Today for the first time to summarize so much, it is not on the code, I hope to give you some help ha

Architecture for iOS

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.