FMDynamic Class Reference

Inherits from FMSerializable : NSObject
Declared in FM.h

Overview

Supplies class instances with a key-value mapping to support dynamic property storage.

– dynamicProperties

Gets the dynamic properties on this instance.

- (NSMutableDictionary *)dynamicProperties

Discussion

Gets the dynamic properties on this instance.

Declared In

FM.h

– getDynamicValueWithKey:

Gets a property value from the local cache.

- (NSObject *)getDynamicValueWithKey:(NSString *)key

Parameters

name="key">The

property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. The stored value, if found; otherwise null.

Discussion

Gets a property value from the local cache.

Declared In

FM.h

– init

- (id)init

Declared In

FM.h

– setDynamicProperties:

Sets the dynamic properties on this instance.

- (void)setDynamicProperties:(NSMutableDictionary *)value

Discussion

Sets the dynamic properties on this instance.

Declared In

FM.h

– setDynamicValueWithKey:value:

Sets a property value in the local cache.

- (void)setDynamicValueWithKey:(NSString *)key value:(NSObject *)value

Parameters

name="value">The

property value. This can be any object that needs to be stored for future use.

name="key">The

property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

Discussion

Sets a property value in the local cache.

Declared In

FM.h

– unsetDynamicValueWithKey:

Unsets a property value in the local cache.

- (bool)unsetDynamicValueWithKey:(NSString *)key

Parameters

name="key">The

property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. true if the value was removed; otherwise, false.

Discussion

Unsets a property value in the local cache.

Declared In

FM.h