摘要:
如何用代码创建一个空的工程? 首先删除掉自带的ViewController类、Main.storyboard和Target-Deployment Target-Main Interface(删除“Main”),然后在AppDelegate.m的didFinishLaunch中进行_window的实例 阅读全文
摘要:
如何从Storyboard中加载View Controller? 1. 首先了解下UIStoryboard类: 2. 从Storyboard中加载View Controller的方法: 阅读全文
摘要:
storyboard启动应用程序的大致流程 [原创] 转载请注明出处:http://i.cnblogs.com/EditPosts.aspx?postid=5395023 1. 用户点击APP图标——程序NSBundle(/private/var/mobile/Containers/Bundle/A 阅读全文
摘要:
loadView在App启动时到底都干了些什么? 查阅苹果官方文档如下: 1. 当你访问一个ViewController的view属性时,如果此时view的值是nil,那么,ViewController就会自动调用loadView这个方法。这个方法就会加载nib文件或者创建一个空的view对象(se 阅读全文