Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Person.h
- // P3Scratch
- //
- // Created by Marcio Valenzuela on 10/30/09.
- // Copyright 2009 Personal. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- // In oreder to use [Person copy] you need to implement the NSCopying protocal.
- @interface Person : NSObject <NSCopying> {
- NSString *screenName;
- NSString *realName;
- NSURL *imageURL;
- //for later on when i get tweets rollin
- NSMutableArray *statusUpdates;
- NSMutableArray *timeStamps;
- NSDictionary *twitterDictionary;
- }
- // Rule of thumb is strings and objects of literal types should be copied. Not
- // required just good practise.
- @property(nonatomic,copy)NSString *screenName;
- @property(nonatomic,copy)NSString *realName;
- @property(nonatomic,copy)NSURL *imageURL;
- //for later on when i get tweets rollin
- @property(nonatomic,retain)NSMutableArray *statusUpdates;
- @property(nonatomic,retain)NSMutableArray *timeStamps;
- @property(nonatomic,retain)NSDictionary *twitterDictionary;
- //-(id)initWithScreenName:(NSString*)name;
- //-(id)initWithScreenName:(NSString*)name RealName:(NSString*)rname;
- -(id)initWithScreenName:(NSString*)name RealName:(NSString*)rname URL:(NSURL*)url;
- //-(id)initWithObject:(Person*)Object;
- @end
Add Comment
Please, Sign In to add comment