我是靠谱客的博主 追寻西牛,这篇文章主要介绍ViewController Programming Guide for iOS,现在分享给大家,希望可以做个参考。

1. viewController 的storyboard 加载过程:

01. 从storyboard  instantiates views using the information from ur sb.

02. connects all outlets and actions.

03. asking the root view to the vc's view property.

04. calls the "awakeFromNib"

05.调用 viewdidload .. 在这个方法里, 添加和删除Views , 修改控件尺寸, 为view 加载数据。

2显示Vc的过程 

01 calls "view will appear"

02 updates the layout of the views

03 display the views onscreen 

04 call "view will appear" method went the views are onscreen 


3  ViewController 的内存分配过程

01 init 方法

02 View did load 

03 did receive memory warning 

04 dealloc 

最后

以上就是追寻西牛最近收集整理的关于ViewController Programming Guide for iOS的全部内容,更多相关ViewController内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(78)

评论列表共有 0 条评论

立即
投稿
返回
顶部