1.使用atomic进行修饰的属性,在实现文件中不能重写setter方法和getter方法,不然在编译过程会发生报错。
1.使用nonatomic进行修饰的属性,在实现文件中可以重写setter方法和getter方法。