Latest 0.1.1
Homepage https://github.com/aaayia/AYIPubSub
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

AYIPubSub is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'AYIPubSub'

Code

订阅事件

 [self scribe:@"viewDidLoad" callback: ^(NSString *name, id object){
           NSLog(@"收到通知---> %@ %@", name, object);
}];

推送事件

[self publish:@"viewDidLoad" withObject:@{@"view": self.view}];

Author

aaayia, [email protected]

License

AYIPubSub is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "AYIPubSub",
    "version": "0.1.1",
    "summary": "iOSu4e2du7684u4e00u4e2au8ba2u9605u901au77e5u7684u5c0fu5de5u5177",
    "description": "u7c7bu4f3cu4e8eu901au77e5u7684u8ba2u9605u5de5u5177.u6bd4u8f83u7b80u5355u7684u5b9eu73b0u4e86u8ba2u9605u901au77e5u7684u529fu80fdu3002",
    "homepage": "https://github.com/aaayia/AYIPubSub",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "aaayia": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aaayia/AYIPubSub.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "AYIPubSub/Classes/**/*"
}

Pin It on Pinterest

Share This