Inherits from RACDisposable : NSObject
Declared in RACKVOTrampoline.h

Overview

The KVO trampoline object. Represents a KVO observation.

Disposing of the trampoline will stop observation.

Tasks

Instance Methods

initWithTarget:observer:keyPath:options:block:

Initializes the receiver with the given parameters.

- (id)initWithTarget:(NSObject *)target observer:(NSObject *)observer keyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options block:(RACKVOBlock)block

Discussion

Initializes the receiver with the given parameters.

target - The object whose key path should be observed. Cannot be nil. observer - The object that gets notified when the value at the key path changes. Can be nil. keyPath - The key path on target to observe. Cannot be nil. options - Any key value observing options to use in the observation. block - The block to call when the value at the observed key path changes. Cannot be nil.

Returns the initialized object.

Declared In

RACKVOTrampoline.h