TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Khoa Pham.
Simple and safe way to observe notification
self.notificationController = [FTGNotificationController controllerWithObserver:self];
[self.notificationController observeNotificationName:UIApplicationDidReceiveMemoryWarningNotification
object:nil
queue:[NSOperationQueue mainQueue]
block:^(NSNotification *note, id observer)
{
NSLog(@"observer %@ notification payload %@", observer, note);
}];
There are 2 ways
pod 'FTGNotificationController'
or
pod 'FTGNotificationController', :git => 'https://github.com/onmyway133/FTGNotificationController.git'