FMIceLinkDynamic Class Reference

Inherits from FMIceLinkSerializable : NSObject
Declared in FMIceLinkDynamic.h
FMIceLinkDynamic.m

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

FMIceLinkDynamic.h

– getDynamicValueWithKey:

Gets a property value from the local cache.
- (id)getDynamicValueWithKey:(NSString *)key

Parameters

key

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

Return Value

The stored value, if found; otherwise null.

Discussion

Gets a property value from the local cache.

Declared In

FMIceLinkDynamic.h

– init

- (instancetype)init

Declared In

FMIceLinkSerializable.h

– setDynamicValueWithKey:value:

Sets a property value in the local cache.
- (void)setDynamicValueWithKey:(NSString *)key value:(id)value

Parameters

key

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

value

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

Discussion

Sets a property value in the local cache.

Declared In

FMIceLinkDynamic.h

– unsetDynamicValueWithKey:

Unsets a property value in the local cache.
- (bool)unsetDynamicValueWithKey:(NSString *)key

Parameters

key

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

Return Value

true if the value was removed; otherwise, false.

Discussion

Unsets a property value in the local cache.

Declared In

FMIceLinkDynamic.h