Releases
13.6.0
⚠️ Breaking Changes
feat!(object): new API for fetching object (#672 )
+ - (BOOL)fetchWithOption:(nullable LCObjectFetchOption *)option error:(NSError * __autoreleasing *)error;
+ - (void)fetchInBackgroundWithOption:(nullable LCObjectFetchOption *)option block:(LCObjectResultBlock)block;
- - (BOOL)fetch:(NSError * __autoreleasing *)error
- - (void)fetchWithKeys:(nullable NSArray *)keys
- - (BOOL)fetchWithKeys:(nullable NSArray *)keys error:(NSError **)error
- - (LCObject *)fetchIfNeeded
- - (LCObject *)fetchIfNeeded:(NSError **)error
- - (LCObject *)fetchIfNeededAndThrowsWithError:(NSError **)error
- - (LCObject *)fetchIfNeededWithKeys:(nullable NSArray *)keys
- - (LCObject *)fetchIfNeededWithKeys:(nullable NSArray *)keys error:(NSError **)error
- - (void)fetchInBackgroundWithKeys:(nullable NSArray *)keys block:(LCObjectResultBlock)block
- - (void)fetchIfNeededInBackgroundWithBlock:(LCObjectResultBlock)block
- + (void)fetchAll:(NSArray *)objects
- + (void)fetchAllIfNeeded:(NSArray *)objects
- + (BOOL)fetchAllIfNeeded:(NSArray *)objects error:(NSError **)error
- + (void)fetchAllIfNeededInBackground:(NSArray *)objects block:(LCArrayResultBlock)block
You can’t perform that action at this time.