Advertisement
zgillis

Person.h

Jun 29th, 2012
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #import <Cocoa/Cocoa.h>
  3.  
  4.  
  5. @interface Person : NSObject
  6. {
  7.     NSString *first_name;
  8.     NSString *last_name;
  9.     int age;
  10.     int weight;
  11. }
  12. //Setter Methods
  13. -(void)setFirstName: (NSString*)FirstName;
  14. -(void)setLastName: (NSString*)LastName;
  15. -(void)setFirstName: (NSString*)FirstName LastName: (NSString*)LastName;
  16. -(void)setAge: (int)Age;
  17. -(void)setWeight: (int)Weight;
  18.  
  19. //Getter Methods
  20. -(NSString*)first_name;
  21. -(NSString*)last_name;
  22. -(int)age;
  23. -(int)weight;
  24.  
  25. //Functional Methods
  26.  
  27.  
  28. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement