Skip to content

Instantly share code, notes, and snippets.

@dennda
Created October 10, 2011 16:07
Show Gist options
  • Save dennda/1275700 to your computer and use it in GitHub Desktop.
Save dennda/1275700 to your computer and use it in GitHub Desktop.
// old:
- (void)taskTerminated:(NSNotification *)task {
}
// versus new:
- (void)taskTerminated:(NSNotification *)tasknot {
NSTask *task = tasknot.object;
....
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment