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.

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

This makes it easy to bind a property to a default by assigning to RACChannelTo.

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 with values it receives.

Declared In

NSUserDefaults+RACSupport.h