redribben

nsnoti

Feb 12th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (id) init {
  2.     self = [super init];
  3.     if (!self) return nil;
  4.  
  5.     [[NSNotificationCenter defaultCenter] addObserver:self
  6.                                              selector:@selector(receiveTestNotification:)
  7.                                                  name:@"StateChanged"
  8.                                                object:nil];
  9.     return self;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment