Up

NSUbiquitousKeyValueStore class documentation

Authors

Gregory John Casamento (greg.casamento@gmail.com)

Date: Generated at 2024-11-07 16:52:01 -0500

Copyright: (C) 2019 Free Software Foundation, Inc.

Software documentation for the NSUbiquitousKeyValueStore class

NSUbiquitousKeyValueStore : NSObject

class_NSUbiquitousKeyValueStore NSObject NSObject NSUbiquitousKeyValueStore NSUbiquitousKeyValueStore NSObject->NSUbiquitousKeyValueStore
Declared in:
Foundation/NSUbiquitousKeyValueStore.h
Availability: MacOS-X 10.7.0

Description forthcoming.
Method summary

defaultStore 

+ (NSUbiquitousKeyValueStore*) defaultStore;
Availability: MacOS-X 10.7.0

Getting the Shared Instance

arrayForKey: 

- (NSArray*) arrayForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the array associated with the specified key.

boolForKey: 

- (BOOL) boolForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the Boolean value associated with the specified key.

dataForKey: 

- (NSData*) dataForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the data object associated with the specified key.

dictionaryForKey: 

- (NSDictionary*) dictionaryForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the dictionary object associated with the specified key.

dictionaryRepresentation 

- (NSDictionary*) dictionaryRepresentation;
Availability: MacOS-X 10.7.0

A dictionary containing all of the key-value pairs in the key-value store.

doubleForKey: 

- (double) doubleForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the double value associated with the specified key.

longLongForKey: 

- (long long) longLongForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the long long value associated with the specified key.

objectForKey: 

- (id) objectForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the object associated with the specified key.

removeObjectForKey: 

- (void) removeObjectForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Removes the value associated with the specified key from the key-value store.

setArray: forKey: 

- (void) setArray: (NSArray*)array forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets an array object for the specified key in the key-value store.

setBool: forKey: 

- (void) setBool: (BOOL)flag forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets a Boolean value for the specified key in the key-value store.

setData: forKey: 

- (void) setData: (NSData*)data forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets a data object for the specified key in the key-value store.

setDictionary: forKey: 

- (void) setDictionary: (NSDictionary*)dict forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets a dictionary object for the specified key in the key-value store.

setDouble: forKey: 

- (void) setDouble: (double)val forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets a double value for the specified key in the key-value store.

setLongLong: forKey: 

- (void) setLongLong: (long long)val forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets a long long value for the specified key in the key-value store.

setObject: forKey: 

- (void) setObject: (id)obj forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets an object for the specified key in the key-value store.

setString: forKey: 

- (void) setString: (NSString*)string forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Sets a string object for the specified key in the key-value store.

stringForKey: 

- (NSString*) stringForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Returns the string associated with the specified key.

synchronize 

- (void) synchronize;
Availability: MacOS-X 10.7.0

Explicitly synchronizes in-memory keys and values with those stored on disk.


Up