201060512 Viewcontroller View

Source: Internet
Author: User
Uiviewcontroller

When a view controller is created and displayed on the screen. Order of execution of code
1, Alloc create objects, allocate space
2. Init (Initwithnibname) initializes the object, initializes the data
3, Loadview Create Self.view
4, Viewdidload loading complete, can be customized data and dynamic creation of other controls
5, Viewwillappear View will appear before the screen, the view will be displayed on the screen immediately
6, Viewdidappear view has been rendered on the screen completed
7. Viewwilldisappear view will be removed from the screen before execution
8, Viewdiddisappear View has been removed from the screen, the user can not see this view
9. Dealloc view is destroyed,



Wen/hustbroventure (author of Jane's book)
Original link: http://www.jianshu.com/p/3ffe5bd4c949
Copyright belongs to the author, please contact the author to obtain authorization, and Mark "book author".

201060512 Viewcontroller View

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.