Skip to content

Instantly share code, notes, and snippets.

@sTinGe
Last active April 17, 2018 13:29
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 sTinGe/af4dc3bf2ed2c156b5c8fbb4be54f6a3 to your computer and use it in GitHub Desktop.
Save sTinGe/af4dc3bf2ed2c156b5c8fbb4be54f6a3 to your computer and use it in GitHub Desktop.
// addObserver
void CFNotificationCenterAddObserver(CFNotificationCenterRef center, const void *observer, CFNotificationCallback callBack, CFStringRef name, const void *object, CFNotificationSuspensionBehavior suspensionBehavior);
// postNotificationName
void CFNotificationCenterPostNotification(CFNotificationCenterRef center, CFNotificationName name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediately);
// removeObserver
void CFNotificationCenterRemoveObserver(CFNotificationCenterRef center, const void *observer, CFNotificationName name, const void *object);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment