Created
September 14, 2017 15:19
-
-
Save lukeredpath/9e26b9dadef4405b25624ee4825067c2 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
// becomes... | |
NotificationCenter.default.addObserver(forName: .SomethingDidHappen, ...) |
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 NSNotificationName SomethingDidHappenNotification; |
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
NSNotificationName SomethingDidHappenNotification = @"SomethingDidHappenNotification"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment