摘要: 1 #include 2 3 void test() 4 { 5 static int i = 5; 6 printf("%d\n",i); 7 } 8 int caculate(int a) 9 { 10 int result = 0; 11 12 if (a>0) 13 { 14 15 for (int j =... 阅读全文
posted @ 2016-04-13 14:47 walker彬 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 上一节主要讲解了程序的启动原理UIApplication 的启动,以及 main 函数的执行,现在主要讲解界面的加载以及执行部分。 UIWindow 下面先看看Apple的官方文档 Apple官方文档 UIWindow继承自UIView,UIWindow是一种特殊的UIView,通常在一个程序中只会 阅读全文
posted @ 2016-02-21 21:15 walker彬 阅读(149) 评论(0) 推荐(0) 编辑