摘要: atomic和nonatomic用来决定编译器生成的getter和setter是否为原子操作。 atomic 设置成员变量的@property属性时,默认为atomic,提供多线程安全。 在多线程环境下,原子操作是必要的,否则有可能引起错误的结果。加了atomic,setter函数会变成下面这样: 阅读全文
posted @ 2017-03-15 15:34 成长的过程 阅读(802) 评论(0) 推荐(0) 编辑
摘要: tableViewCell简单动画的实现,有待继续 #pragma mark cell animal - (void)cellAnimalWithcellForRowAtIndexPath:(UITableViewCell *)cell{ // 1. 配置CATransform3D的内容 CATra 阅读全文
posted @ 2017-03-15 14:47 成长的过程 阅读(137) 评论(0) 推荐(0) 编辑