类的声明
@interface className : NSObject
@end
类的实现
类的属性声明
@interface Person : NSObject
@property NSString *firstName;
@property NSString *lastName;
@property(readonly) NSString *address;
@end
@interface className : NSObject
@end
@interface Person : NSObject
@property NSString *firstName;
@property NSString *lastName;
@property(readonly) NSString *address;
@end