Skip to content

Instantly share code, notes, and snippets.

@joshaber
Created July 21, 2012 04:51
Show Gist options
  • Save joshaber/3154618 to your computer and use it in GitHub Desktop.
Save joshaber/3154618 to your computer and use it in GitHub Desktop.
[[[NSUserDefaultsController sharedUserDefaultsController] rac_subscribableForKeyPath:@"values.yourDefaultsKey" onObject:self] subscribeNext:(id x) {
// do the things
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment