To run the example project, clone the repo, and run pod install from the Example directory first.
AYIPubSub is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AYIPubSub'订阅事件
[self scribe:@"viewDidLoad" callback: ^(NSString *name, id object){
NSLog(@"收到通知---> %@ %@", name, object);
}];
推送事件
[self publish:@"viewDidLoad" withObject:@{@"view": self.view}];
aaayia, twilightzzy@126.com
AYIPubSub is available under the MIT license. See the LICENSE file for more info.
