President.h
上传用户:jjjjag8
上传日期:2017-04-17
资源大小:1443k
文件大小:1k
源码类别:

iPhone

开发平台:

MultiPlatform

  1. #define kPresidentNumberKey  @"President"
  2. #define kPresidentNameKey @"Name"
  3. #define kPresidentFromKey @"FromYear"
  4. #define kPresidentToKey @"ToYear"
  5. #define kPresidentPartyKey @"Party"
  6. #import <Foundation/Foundation.h> 
  7. @interface President : NSObject <NSCoding> {
  8. int number;
  9. NSString *name;
  10. NSString *fromYear;
  11. NSString *toYear;
  12. NSString *party;
  13. }
  14. @property int number;
  15. @property (nonatomic, retain) NSString *name;
  16. @property (nonatomic, retain) NSString *fromYear;
  17. @property (nonatomic, retain) NSString *toYear;
  18. @property (nonatomic, retain) NSString *party;
  19. @end