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

Existence

  • Undocumented

    Declaration

    Objective-C

    - (BOOL)containsObjectForEntityClass:(Class)entityClass
                           withPredicate:(NSPredicate *)predOrNil NS_SWIFT_UNAVAILABLE("Use containsObject<E>");

Fetch