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