President.h
上传用户:jjjjag8
上传日期:2017-04-17
资源大小:1443k
文件大小:1k
- #define kPresidentNumberKey @"President"
- #define kPresidentNameKey @"Name"
- #define kPresidentFromKey @"FromYear"
- #define kPresidentToKey @"ToYear"
- #define kPresidentPartyKey @"Party"
- #import <Foundation/Foundation.h>
- @interface President : NSObject <NSCoding> {
- int number;
- NSString *name;
- NSString *fromYear;
- NSString *toYear;
- NSString *party;
- }
- @property int number;
- @property (nonatomic, retain) NSString *name;
- @property (nonatomic, retain) NSString *fromYear;
- @property (nonatomic, retain) NSString *toYear;
- @property (nonatomic, retain) NSString *party;
- @end