Created
May 31, 2010 04:41
-
-
Save jonsterling/419542 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
| - (void)didWobble:(NSNotification *)notification; |
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] | |
| postNotificationName:JSAutoWibblerDidWobbleNotification | |
| object:self]; |
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] | |
| postNotificationName:JSAutoWibblerDidWobbleNotification | |
| object:self | |
| userInfo:dict]; |
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] | |
| addObserver:self | |
| selector:@selector(didWobble:) | |
| name:JSAutoWibblerDidWobbleNotification | |
| object:someWibbler]; |
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
| extern NSString * const JSAutoWibblerDidWobbleNotification; | |
| extern NSString * const JSAutoWibblerDidWeebleNotification; |
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
| NSString * const JSAutoWibblerDidWobbleNotification | |
| = @"JSAutoWibblerDidWobbleNotification"; | |
| NSString * const JSAutoWibblerDidWeebleNotification | |
| = @"JSAutoWibblerDidWeebleNotification"; |
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] removeObserver:self]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment