摘要: 为什么要有属性呢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) 编辑