Created
July 5, 2013 17:00
-
-
Save joshaber/5935853 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[[NSNotificationCenter.defaultCenter | |
rac_addObserverForName:NSApplicationDidBecomeActiveNotification object:nil] | |
takeUntil:self.rac_willDeallocSignal] | |
subscribeNext:^(NSNotification *notification) { | |
NSLog(@"got ur note bro: %@", notification); | |
}]; | |
// some other shit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment