上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 把新的mvc推送到屏幕上另一个则滑出它仍然存在, 左侧的MVC还在只是不在屏幕上而忆, 另外一个mvc那有个小按钮后退按钮导航控制器就会将其撤消返回有一个强指针指向管理好内存不希望保存这个图你可以重新创建它只要再点,就会重新创建这个MVCUITabBarControllerAnother "controller of controllers"Mostly set up with ctrl-drag jus like split vew or naviagtion controllerUINavigationItemin-lining blocks of codeFundat 阅读全文
posted @ 2012-10-07 11:50 顺武 阅读(980) 评论(0) 推荐(0) 编辑
摘要: 好的应用需要好的创意设计模式和最佳做法设计的三个过程想法的概念化界面外观的设计架构设计想法的概念化基本需求和用例有了点子后,,应该考虑界面设计那些UI元素可以合乎逻辑的组合在一起look and feel driven专注于用户体验可以详细描述这些需求中的设计问题,,找到解决办法。细化原始需求,,得到一些问题 阅读全文
posted @ 2012-10-03 21:25 顺武 阅读(147) 评论(0) 推荐(0) 编辑
摘要: - (id)foo { return foo;}- (void)setFoo:(id)aFoo { if(aFoo != foo) { [aFoo retain]; [foo release]; foo = aFoo; }}@property@synthesize in the implementation fileButton_FunViewController.mwe will tell the compiler to create the getter and setter methods at compile time. 阅读全文
posted @ 2012-09-16 11:53 顺武 阅读(315) 评论(0) 推荐(0) 编辑
摘要: ios5没有releasenil你有一个指针,它的值是零C结果体和对象的区别the different between heap and stack类方法以+开头可变复制发送信息有一个出现在屏幕上和离开屏幕的周期你的控制器的视图会修改自己的框架你的控制器能执行名为shouldAutorotateToInterfaceOrientation并返回结果UI 阅读全文
posted @ 2012-09-16 11:28 顺武 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 为什么要有属性呢1 是为了实例变量的安全性和再分类性, 保障安全2 提供一个阀门,延迟实例化。列新BUI记下哪些对象需要重 绘 一致性检查本身是很有价值的实例变量必需要有实例变量来支持属性吗?不含属性的实例变量.好读.和结构体有关系strong VS weak是我们给指针的描述或属性非强即弱strong 是对于对象来说的指针的强弱是用于表示指向对象的指针。而用于指向存储器的指针强指针是指通过指针被保存在堆中,而不把它分配到存储器,直到我不再用强指针把指针设为零,把我从堆里弄出来,weak 不重要的,,,弱指针只在ios5中应用程序运行时起作用从堆中出来时,,归零dealloc当在本地变量超 出 阅读全文
posted @ 2012-09-15 23:09 顺武 阅读(388) 评论(0) 推荐(0) 编辑
摘要: And the Rest...general control attributes inherited from UIControl,butthese generally don't apply to text fields,with the exception ofthe Enabled Checkbox,,won't affect the field's appearance.check Opaque,Set the Attributes for the Second Text fieldsingle -click the second text field in 阅读全文
posted @ 2012-09-15 16:25 顺武 阅读(270) 评论(0) 推荐(0) 编辑
摘要: single view application它基本上是单一的MVC应用程序 创建控制器和空白视图 要由你自己来创建page based application iBook 类的应用class prefix 一个生成器 控制器 你的一个类加在类前一个单词,,让它独特些可以建立一个有两 个不同用户界面的应用程序,一个给 IPHONe,一个给iPad你可以共享控制器模板之类的。但是view 可以不一样,,你有很多屏幕实时状态故事板是IOS5的新功能它的特色是的所有的MVS视图都在屏幕上,你可以看到它们间的交互,,,看到。自动引用计算,ios4必须手动清除自动引用计算器的内容,现在不用了它管... 阅读全文
posted @ 2012-09-14 23:21 顺武 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Can you recall that Apple's IOS applictions do in this situation?cause the keyboard to go away.our view controller has a property called view that it inherited fromUIViewController. this view corresponds to the View icon in the nib filethis property points to an instance of UIView in the nib tha 阅读全文
posted @ 2012-09-13 06:20 顺武 阅读(152) 评论(0) 推荐(0) 编辑
摘要: hold down the control key; click the File's Owner icon in thme main nib windowand keep the mouse button down.Drag away the File's Owner icon toward the View window. A bule guideline should appear. Keep dragging util your cursor is over the label in the View window Even though you won't b 阅读全文
posted @ 2012-09-10 08:42 顺武 阅读(271) 评论(0) 推荐(0) 编辑
摘要: - (IBAction)buttonPressed:(id)senderAdding Actions and Outlets to the Implementation filethe class's implementation file, Button_FunViewController.mThe file should look like something like this.#import "Button_FunViewController.h"@implementation Button_FunViewController- (void)didRecei 阅读全文
posted @ 2012-09-09 12:48 顺武 阅读(278) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页