Skip to content

Instantly share code, notes, and snippets.

@bobspryn
Last active August 29, 2015 14:06
Show Gist options
  • Save bobspryn/433c36a0796f17ec1946 to your computer and use it in GitHub Desktop.
Save bobspryn/433c36a0796f17ec1946 to your computer and use it in GitHub Desktop.
@interface MYTwitterLookupViewModel: NSObject
@property (nonatomic, assign, readonly, getter=isUsernameValid) BOOL usernameValid;
@property (nonatomic, strong, readonly) NSString *userFullName;
@property (nonatomic, strong, readonly) UIImage *userAvatarImage;
@property (nonatomic, strong, readonly) NSArray *tweets;
@property (nonatomic, assign, readonly) BOOL allTweetsLoaded;
@property (nonatomic, strong, readwrite) NSString *username;
- (void) getTweetsForCurrentUsername;
- (void) loadMoreTweets;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment