EVObject Class Reference
Inherits from | NSObject |
Declared in | EVObject.h |
Overview
An Everlive framework object that is the local representation of the data stored in Everlive cloud.
Tasks
DataStore Methods
-
+ fetchAll:
Retrieves all the EVObject in background.
-
+ fetchAll:selector:
Retrieves all the EVObject in background.
-
– create:
Saves the EVObject in background.
-
– create:selector:
Saves a new EVObject in background.
-
– update:
Updates the EVObject in background.
-
– update:selector:
updates the EVObject in background.
-
– remove:
Removes the EVObject in background.
-
– remove:selector:
Removes the EVObject in background.
Class Methods
fetchAll:
Retrieves all the EVObject in background.
+ (void)fetchAll:(EVObjectFetchResultBlock)block
Parameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.h
fetchAll:selector:
Retrieves all the EVObject in background.
+ (void)fetchAll:(id)target selector:(SEL)selector
Parameters
- target
The object to call selector on
- selector
The selector to call. It should have the following signature: (void)requestCompletedWithResult:(NSArray)result error:(NSError)error. error will be nill on success.
Declared In
EVObject+DataStore.h
Instance Methods
create:
Saves the EVObject in background.
- (void)create:(EVObjectResultBlock)block
Parameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.h
create:selector:
Saves a new EVObject in background.
- (void)create:(id)target selector:(SEL)selector
Parameters
- target
The object to call selector on.
- selector
The selector to call. It should have the following signature: (void)requestCompletedWithResult:(NSArray)result error:(NSError)error. error will be nill on success.
Declared In
EVObject+DataStore.h
remove:
Removes the EVObject in background.
- (void)remove:(EVObjectResultBlock)block
Parameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.h
remove:selector:
Removes the EVObject in background.
- (void)remove:(id)target selector:(SEL)selector
Parameters
- target
The object to call selector on.
- selector
The selector to call. It should have the following signature: (void)requestCompletedWithResult:(NSArray)result error:(NSError)error. error will be nill on success.
Declared In
EVObject+DataStore.h
update:
Updates the EVObject in background.
- (void)update:(EVObjectResultBlock)block
Parameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.h
update:selector:
updates the EVObject in background.
- (void)update:(id)target selector:(SEL)selector
Parameters
- target
The object to call selector on.
- selector
The selector to call. It should have the following signature: (void)requestCompletedWithResult:(NSArray)result error:(NSError)error. error will be nill on success.
Declared In
EVObject+DataStore.h