摘要:
Fromcomp.lang.objective-C FAQ listing: "What if multiple categories implement the same method?Then the fabric of the Universe as we know it ceases to ... 阅读全文
摘要:
在面向对象程序里,一个对象不要直接访问另一个对象内部的数据。所以我们使用accessor methods来进行对象内部的数据交互。accessor methods(getters and setters) are used as an abstraction for interacting with... 阅读全文
摘要:
1 使用block 可以轻松地绑定各处代码块,使用delete 结构是分散的,不利于变量之间传值,不像block可以随意地获取变量值。2.使用block可以方便执行异步代码,作为异步处理回调。In terms of code readability, the block makes it easy ... 阅读全文
摘要:
the breakpoint will always be skipped. Your breakpoint condition can be any code that evaluatestrueorfalse. For example, if you only want the breakpoi... 阅读全文
摘要:
storyboard迭代比较快You’ll get more valuable feedback if you can put together a fleshed-out prototype that runs on a device. When people can interact with ... 阅读全文
摘要:
点击图标大小至少为这么大:Make it easy for people to interact with content and controls by giving each interactive element ample spacing.Give tappable controls a h... 阅读全文
摘要:
isKindOfClass:returns YES if the receiver is an instance of the specified class or an instance of any class that inherits from the specified class.isM... 阅读全文