摘要: 【转载自并整理http://blog.csdn.net/itianyi/article/details/8618128】一、类Class中的属性property 在ios第一版中,我们为输出口同时声明了属性和底层实例变量,那时,属性是oc语言的一个新的机制,并且要求你必须声明与之对应的实例变量,例如:@interface MyViewController :UIViewController{ UIButton *myButton;}@property (nonatomic, retain) UIButton *myButton;@end 最近,苹果将默认编译器从GCC转换为LLVM(... 阅读全文
posted @ 2013-11-23 18:05 疯狂の小石子 阅读(8963) 评论(3) 推荐(5) 编辑