-
Notifications
You must be signed in to change notification settings - Fork 0
/
MTFetchedResultsControllerBasedItemListCacheInterface.h
35 lines (31 loc) · 1.89 KB
/
MTFetchedResultsControllerBasedItemListCacheInterface.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// MTFetchedResultsControllerBasedItemListCacheInterface.h
//
// Created by MAXIM TSVETKOV on 27.08.15.
//
#import "MTItemListCacheInterface.h"
#import "MTItemListCacheConstants.h"
@protocol MTFetchedResultsControllerBasedItemListCacheInterface <NSObject, MTItemListCacheInterface>
- (void)cacheItemListWithEntityName:(NSString * _Nonnull)entityName
sortDescriptors:(NSArray * _Nullable)sortDescriptors
predicate:(NSPredicate * _Nullable)predicate
sectionNameKeyPath:(NSString * _Nullable)sectionNameKeyPath
context:(NSManagedObjectContext * _Nonnull)context
completion:(MTItemListCacheCompletionBlock _Nullable)completionBlock;
- (void)cacheItemListWithEntityName:(NSString * _Nonnull)entityName
sortDescriptors:(NSArray * _Nullable)sortDescriptors
predicate:(NSPredicate * _Nullable)predicate
sectionNameKeyPath:(NSString * _Nullable)sectionNameKeyPath
includesSubentities:(BOOL)includesSubentities
context:(NSManagedObjectContext * _Nonnull)context
completion:(MTItemListCacheCompletionBlock _Nullable)completionBlock;
- (void)cacheItemListWithEntityName:(NSString * _Nonnull)entityName
sortDescriptors:(NSArray * _Nullable)sortDescriptors
predicate:(NSPredicate * _Nullable)predicate
sectionNameKeyPath:(NSString * _Nullable)sectionNameKeyPath
includesSubentities:(BOOL)includesSubentities
cacheName:(NSString * _Nullable)cacheName
updateCache:(BOOL)updateCache
context:(NSManagedObjectContext * _Nonnull)context
completion:(MTItemListCacheCompletionBlock _Nullable)completionBlock;
@end