MBMSettings
Deprecated
@interface MBMSettings : NSObject
Settings class provides non-persistent, in-process key-value storage.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE; -
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE; -
Sets setting value for a specified key.
Declaration
Objective-C
+ (void)setForKey:(nonnull NSString *)key value:(nonnull id)value;Swift
class func setForKey(_ key: String, value: Any)Parameters
keyA name of the key.
valueThe
valuefor the key. -
Return value for a key.
Declaration
Objective-C
+ (nonnull id)getForKey:(nonnull NSString *)key;Swift
class func getForKey(_ key: String) -> AnyParameters
keyA name of the key.
Return Value
valueif a key exists in settings otherwise anull valuewill be returned.
MBMSettings Class Reference