Skip to content

Instantly share code, notes, and snippets.

@gonzalezreal
Created October 24, 2012 06:07
Show Gist options
  • Save gonzalezreal/3944309 to your computer and use it in GitHub Desktop.
Save gonzalezreal/3944309 to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
#import <Accounts/Accounts.h>
#import <CoreData/CoreData.h>
@interface TGRTimeline : NSObject
@property (strong, nonatomic, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, readonly, getter = isLoading) BOOL loading;
- (id)initWithAccount:(ACAccount *)account;
- (BOOL)loadNewTweetsWithCompletionHandler:(void (^)(NSError *error))completionHandler;
- (BOOL)loadOldTweetsWithCompletionHandler:(void (^)(NSError *error))completionHandler;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment