Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Headers/Foundation/NSUbiquitousKeyValueStore.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ GS_EXPORT_CLASS
* Getting the Shared Instance
*/
+ (NSUbiquitousKeyValueStore *) defaultStore;

// Getting Values

/**
* Returns the array associated with the specified key.
*/
- (NSArray *) arrayForKey: (NSString *)key;

/**
* Returns the Boolean value associated with the specified key.
*/
Expand All @@ -63,7 +63,7 @@ GS_EXPORT_CLASS
* Returns the data object associated with the specified key.
*/
- (NSData*) dataForKey: (NSString *)key;

/**
* Returns the dictionary object associated with the specified key.
*/
Expand Down Expand Up @@ -157,6 +157,12 @@ GS_EXPORT_CLASS
GS_EXPORT NSString* const NSUbiquitousKeyValueStoreDidChangeExternallyNotification;
GS_EXPORT NSString* const NSUbiquitousKeyValueStoreChangeReasonKey;

// Change reason values
GS_EXPORT NSString* const NSUbiquitousKeyValueStoreServerChange;
GS_EXPORT NSString* const NSUbiquitousKeyValueStoreInitialSyncChange;
GS_EXPORT NSString* const NSUbiquitousKeyValueStoreQuotaViolationChange;
GS_EXPORT NSString* const NSUbiquitousKeyValueStoreAccountChange;

#if defined(__cplusplus)
}
#endif
Expand Down
Loading
Loading