See what notifications exist at runtime.
It keeps a list of notifications that come in contact with:
classes:
- NSNotificationCenter
- CPDistributedNotificationCenter
- CPDistributedMessagingCenter
functions:
- CFNotificationCenterAddObserver
- CFNotificationCenterPostNotification
- CFNotificationCenterPostNotificationWithOptions
- notify_post
- notify_register_check
- notify_register_signal
- notify_register_mach_port
- notify_register_file_descriptor
Cleared out list of hooked classes and functions: Hooks.h
In the future it will also track NSDistributedNotificationCenter, and any other class or function that behaves like these.
Designed to be used in cycript with the following commands:
?expand
[[[UFSAssociationTable sharedInstance] allAssociationsDictionary] description]
To save the table of notifications, you can do:
[[[UFSAssociationTable sharedInstance] allAssociationsDictionary] writeToFile:@"/User/process.notifications.plist" atomically:YES]
UFSAssociation and UFSAssociationTable may change names without notice to reflect the objective of this project.
The reason is that this class was created to replace objc_{get,set}AssosiatedObject() functions as they are not available in the iOS 3.2 SDK.