Declared in NSUserDefaults+RACSupport.h

Tasks

Instance Methods

rac_channelTerminalForKey:

Creates and returns a terminal for binding the user defaults key.

- (RACChannelTerminal *)rac_channelTerminalForKey:(NSString *)key

Discussion

Creates and returns a terminal for binding the user defaults key.

Note: The value in the user defaults is asynchronously updated with values sent to the channel.

key - The user defaults key to create the channel terminal for.

Returns a channel terminal that sends the value of the user defaults key upon subscription, sends an updated value whenever the default changes, and updates the default asynchronously with values it receives.

Declared In

NSUserDefaults+RACSupport.h