Created
May 11, 2013 00:58
-
-
Save jessicamoore112/5558473 to your computer and use it in GitHub Desktop.
TESTImports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TheFeedStore.h | |
// Sample1 | |
// | |
// Copyright (c) 2013 LastDemo. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "CoreData/CoreData.h" | |
@class RSSChannel; | |
@class RSSItem; | |
@interface TheFeedStore : NSObject | |
{ | |
NSManagedObjectContext *context; | |
NSManagedObjectModel *model; | |
BOOL isLoading; | |
} | |
@property BOOL isLoading; | |
+ (TheFeedStore *) sharedStore; | |
- (RSSChannel *)fetchWebService:(NSInteger)count withCompletion:(void (^) (RSSChannel *obj, NSError *err))block; | |
- (RSSChannel *)fetchIPhoneWebService:(NSInteger)count withCompletion:(void (^) (RSSChannel *obj, NSError *err))block; | |
- (RSSChannel *)fetchIPadWebService:(NSInteger)count withCompletion:(void (^) (RSSChannel *obj, NSError *err))block; | |
- (RSSChannel *)fetchIOSWebService:(NSInteger)count withCompletion:(void (^) (RSSChannel *obj, NSError *err))block; | |
- (void) markItemAsRead:(RSSItem *) item; | |
- (BOOL) hasItemBeenRead:(RSSItem *) item; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment