ios基础之属性set get方法同时重写报错的问题
来源:互联网
#import <UIKit/UIKit.h> @interface ViewController : UIViewController{ } @property (nonatomic, copy) NSString *name; - (void)setName:(NSString *)name; - (NSString *)name; @end#import <UIKit/UIKit.h> @interface ViewController