Skip to content

Instantly share code, notes, and snippets.

@drkmullins
Created May 20, 2013 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drkmullins/5614667 to your computer and use it in GitHub Desktop.
Save drkmullins/5614667 to your computer and use it in GitHub Desktop.
NSNotificationCenter *center;
center = [NSNotificationCenter defaultCenter];
token = [center addObserverForName: nil
object: nil
queue: nil
usingBlock: ^(NSNotification *notification) {
QuietLog (@"NOTIFICATION %@ -> %@",
notification.name, notification.userInfo);
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment