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)blockParameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.hfetchAll:selector:
Retrieves all the EVObject in background.
+ (void)fetchAll:(id)target selector:(SEL)selectorParameters
- 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.hInstance Methods
create:
Saves the EVObject in background.
- (void)create:(EVObjectResultBlock)blockParameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.hcreate:selector:
Saves a new EVObject in background.
- (void)create:(id)target selector:(SEL)selectorParameters
- 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.hremove:
Removes the EVObject in background.
- (void)remove:(EVObjectResultBlock)blockParameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.hremove:selector:
Removes the EVObject in background.
- (void)remove:(id)target selector:(SEL)selectorParameters
- 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.hupdate:
Updates the EVObject in background.
- (void)update:(EVObjectResultBlock)blockParameters
- block
The block to execute. The block should have the following argument signature: (BOOL success, NSError *error)
Declared In
EVObject+DataStore.hupdate:selector:
updates the EVObject in background.
- (void)update:(id)target selector:(SEL)selectorParameters
- 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