CTXMAMConfigManager
This is the class is the main configuration class for your application. It contains methods for storing and retrieving custom configurations.
getConfigurationAsBoolForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (BOOL) type.
-(BOOL) getConfigurationAsBoolForKey: (NSString *) config
The (BOOL) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsDataForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSData *) type.
-(NSData *) getConfigurationAsDataForKey: (NSString *) config
The (NSData *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsDictionaryForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSDictionary *) type.
-(NSDictionary *) getConfigurationAsDictionaryForKey: (NSString *) config
The (NSDictionary *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsDoubleForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (double) type.
-(double) getConfigurationAsDoubleForKey: (NSString *) config
The (double) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsIntegerForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSInteger) type.
-(NSInteger) getConfigurationAsIntegerForKey: (NSString *) config
The (NSInteger) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsNumberForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSNumber *) type.
-(NSNumber *) getConfigurationAsNumberForKey: (NSString *) config
The (NSNumber *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsObjectForKey function retrieves the data associated with the specified configuration name.
-(id) getConfigurationAsObjectForKey: (NSString *) config
The id of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsStringForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSString *) type.
-(NSString *) getConfigurationAsStringForKey: (NSString *) config
The (NSString *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsBoolForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (BOOL) type.
-(BOOL) getSharedConfigurationAsBoolForKey: (NSString *) config
The (BOOL) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsDataForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSData *) type.
-(NSData *) getSharedConfigurationAsDataForKey: (NSString *) config
The (NSData *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsDictionaryForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSDictionary *) type.
-(NSDictionary *) getSharedConfigurationAsDictionaryForKey: (NSString *) config
The (NSDictionary *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsDoubleForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (double) type.
-(double) getSharedConfigurationAsDoubleForKey: (NSString *) config
The (double) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsIntegerForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSInteger) type.
-(NSInteger) getSharedConfigurationAsIntegerForKey: (NSString *) config
The (NSInteger) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsNumberForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSNumber *) type.
-(NSNumber *) getSharedConfigurationAsNumberForKey: (NSString *) config
The (NSNumber *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsObjectForKey function retrieves the data associated with the specified configuration name.
-(id) getSharedConfigurationAsObjectForKey: (NSString *) config
The id of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
getConfigurationAsStringForKey is a convenience function which retrieves the data associated with the specified configuration name and returns as a (NSString *) type.
-(NSString *) getSharedConfigurationAsStringForKey: (NSString *) config
The (NSString *) representation of the object found in the secure storage if found, otherwise the value passed to the defaultValue parameter is returned.
initializes the class, this function is not available for consumption please use sharedConfigManager in order to obtain an instance of this class.
-(id) init NS_UNAVAILABLE;
removeConfigurationForKey function removes the data associated with the specified configuration name from the secure storage.
-(id) removeConfigurationForKey: (NSString *) config
YES if removing the data was successful, otherwise NO.
removeConfigurationForKey function removes the data associated with the specified configuration name from the secure storage.
-(id) removeSharedConfigurationForKey: (NSString *) config
YES if removing the data was successful, otherwise NO.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config intValue: (NSInteger) intValue
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey function saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey function saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
setConfigurationForKey is a convenience function which saves the data associated with the specified configuration name.
-(BOOL) setSharedConfigurationForKey: (NSString *) config
YES if saving the object was successful, otherwise NO.
If a configuration name which already exists in the secure storage is passed then the stored value is overwritten by the new value passed.
the singleton of the CTXMAMConfigManager class.
+(CTXMAMConfigManager *) sharedConfigManager;
An instance of the CTXMAMConfigManager class.
|