storeData:page:key:error: method of the AUIPageStorage protocol
Adds, removes or edits data, associated with the key of the page with the specified identifier.
- (BOOL)storeData:(nullable NSData*)data page:(AUIPageId)identifier key:(NSString*)key error:(NSError**)error;
Parameters
- data
- NSData object, storing the exact data to be added to the page by the key.
- identifier
- AUIPageId object, storing the identifier of the page with certain data.
- key
- The key, associated with the data to be edited.
- error
- The error that has occurred. In case no errors occurred, this parameter is nil.
Return values
The method returns YES, if the data of the page was successfully edited, and NO otherwise.
02.03.2022 12:59:15