NSManagedObjectContext(SimpleFetch)
@interface NSManagedObjectContext(SimpleFetch)
#pragma mark - Existence
- (BOOL)containsObjectForEntityClass:(Class)entityClass
withPredicate:(NSPredicate *)predOrNil NS_SWIFT_UNAVAILABLE("Use containsObject<E>");
#pragma mark - Fetch
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass
withFetchRequest:(TKFetchRequestBlock)requestBlock NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass
withPredicate:(NSPredicate *)predOrNil
andSortDescriptors:(NSArray *)sortDescriptorsOrNil
andFetchLimit:(NSInteger)limit NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass
withPredicate:(NSPredicate *)predOrNil
andSortDescriptors:(NSArray *)sortDescriptorsOrNil NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
- (NSSet *)fetchObjectsForEntityClass:(Class)entityClass
withPredicate:(NSPredicate *)predOrNil NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
- (NSSet *)fetchObjectsForEntityClass:(Class)entityClass
withPredicateString:(NSString *)predicateString, ... NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
- (id)fetchUniqueObjectForEntityClass:(Class)entityClass
withPredicate:(NSPredicate *)predicate NS_SWIFT_UNAVAILABLE("Use fetchUniqueObject<E>");
- (id)fetchUniqueObjectForEntityClass:(Class)entityClass
withPredicateString:(NSString *)predicateString, ... NS_SWIFT_UNAVAILABLE("Use fetchUniqueObject<E>");
@end
Undocumented
-
Undocumented
Declaration
Objective-C
- (BOOL)containsObjectForEntityClass:(Class)entityClass withPredicate:(NSPredicate *)predOrNil NS_SWIFT_UNAVAILABLE("Use containsObject<E>");
-
Undocumented
Declaration
Objective-C
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
-
Undocumented
Declaration
Objective-C
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass withFetchRequest:(TKFetchRequestBlock)requestBlock NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
-
Undocumented
Declaration
Objective-C
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass withPredicate:(NSPredicate *)predOrNil andSortDescriptors:(NSArray *)sortDescriptorsOrNil andFetchLimit:(NSInteger)limit NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
-
Undocumented
Declaration
Objective-C
- (NSArray *)fetchObjectsForEntityClass:(Class)entityClass withPredicate:(NSPredicate *)predOrNil andSortDescriptors:(NSArray *)sortDescriptorsOrNil NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
-
Undocumented
Declaration
Objective-C
- (NSSet *)fetchObjectsForEntityClass:(Class)entityClass withPredicate:(NSPredicate *)predOrNil NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
-
Undocumented
Declaration
Objective-C
- (NSSet *)fetchObjectsForEntityClass:(Class)entityClass withPredicateString:(NSString *)predicateString, ... NS_SWIFT_UNAVAILABLE("Use fetchObjects<E>");
-
Undocumented
Declaration
Objective-C
- (id)fetchUniqueObjectForEntityClass:(Class)entityClass withPredicate:(NSPredicate *)predicate NS_SWIFT_UNAVAILABLE("Use fetchUniqueObject<E>");
-
Undocumented
Declaration
Objective-C
- (id)fetchUniqueObjectForEntityClass:(Class)entityClass withPredicateString:(NSString *)predicateString, ... NS_SWIFT_UNAVAILABLE("Use fetchUniqueObject<E>");
-
Undocumented
Declaration
Swift
public func fetchObjects<E>(_ entity: E.Type, sortDescriptors: [NSSortDescriptor], predicate: NSPredicate? = nil, relationshipKeyPathsForPrefetching: [String]? = nil, fetchLimit: Int? = nil) -> [E] where E : NSManagedObject
-
Undocumented
Declaration
Swift
public func fetchObjects<E>(_ entity: E.Type, predicate: NSPredicate? = nil, sortDescriptors: [NSSortDescriptor]? = nil) -> [E] where E : NSManagedObject
-
Undocumented
Declaration
Swift
public func fetchUniqueObject<E>(_ entity: E.Type, predicate: NSPredicate? = nil) -> E? where E : NSManagedObject
-
Undocumented
Declaration
Swift
public func containsObject<E>(_ entity: E.Type, predicate: NSPredicate? = nil) -> Bool where E : NSManagedObject