Method | Description | |
---|---|---|
AddObserverToKeyPathOfObject ( Object observedObj, String keyPath, KNKVOObserver observer, KNKeyValueObservingOptions options, Object context ) : void |
Creates an observation manager for the given key path.
|
|
HelperForObject ( object anObject ) : |
Gets an existing helper for an object if one exists, or creates one if not.
|
|
HelperIsNoLongerNeeded ( |
||
ObjectDidChangeValueForKey ( Object obj, String key ) : void | ||
ObjectWillChangeValueForKey ( Object obj, String key ) : void | ||
RegisterHelperForType ( |
Adds a helper to the KVO system. Helpers "assist" classes with automatic KVO notifications.
|
|
RemoveObserverFromKeyPathOfObject ( Object observedObj, String keyPath, KNKVOObserver observer ) : void |
Removes an observer from the given key path of an object.
|
|
SharedCore ( ) : |
Method | Description | |
---|---|---|
KNKVOCore ( ) : System |
public AddObserverToKeyPathOfObject ( Object observedObj, String keyPath, KNKVOObserver observer, KNKeyValueObservingOptions options, Object context ) : void | ||
observedObj | Object | The object to observe. |
keyPath | String | The key path to observe. |
observer | KNKVOObserver | The observer. |
options | KNKeyValueObservingOptions | Bitwise-Or of the desired observation objects. |
context | Object | The context of the observation. Used for comparison only. |
return | void |
public HelperForObject ( object anObject ) : |
||
anObject | object | The object to get a helper for. |
return |
public HelperIsNoLongerNeeded ( |
||
helper | ||
return | void |
public ObjectDidChangeValueForKey ( Object obj, String key ) : void | ||
obj | Object | |
key | String | |
return | void |
public ObjectWillChangeValueForKey ( Object obj, String key ) : void | ||
obj | Object | |
key | String | |
return | void |
public RegisterHelperForType ( |
||
helper | The helper to add. | |
targetType | The type the helper is for. | |
return | void |
public RemoveObserverFromKeyPathOfObject ( Object observedObj, String keyPath, KNKVOObserver observer ) : void | ||
observedObj | Object | The observed object. |
keyPath | String | The key path to remove the observed from. |
observer | KNKVOObserver | The observer to remove. |
return | void |