摘要: 在 UIView 中有一个autoresizingMask的属性,它对应的是一个枚举的值(如下),属性的意思就是自动调整子控件与父控件中间的位置,宽高。1 enum {2 UIViewAutoresizingNone = 0,3 UIViewAutores... 阅读全文
posted @ 2014-09-26 10:29 激情为梦想而生 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Clang的文档里提到instancetype is a contextual keyword that is only permitted in the result type of an Objective-C method.也就是说,instancetype只能作为返回值,不能像id那样... 阅读全文
posted @ 2014-09-26 10:22 激情为梦想而生 阅读(365) 评论(0) 推荐(0) 编辑