Latest 0.2
Homepage https://github.com/utiko/EventSubscriber
License MIT
Platforms ios 9.0
Authors

Allows to create event types with strong structure of parameters.

You can create event based on enums and structs, subscribe and handle it at different places of your application.

Use Event protocol to deeclare an event type.
Conform EventSubscriber protocol to allow object subscribe for events
Pass event type into a subscribe() function block as parameter type to subscribe for specific event.
Not forget to call unsubscribeAll() method on deinit.

Please look at EventSubscriberTests for more clear understanding.

Author

Kostia Kolesnyk, [email protected]

License

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

Latest podspec

{
    "name": "EventSubscriber",
    "version": "0.2",
    "summary": "A wrapper around NotificationCenter..",
    "description": "Stateless event subscribing tool.nBased on Apple NSNotificationCenter.nnAllows to create event types with strong structure of parameters.nnYou can create event based on enums and structs, subscribe and handle it at different places of your application.nnUse Event protocol to deeclare an event type.nConform EventSubscriber protocol to allow object subscribe for eventsnPass event type into a subscribe() function block as parameter type to subscribe for specific event.nNot forget to call unsubscribeAll() method on deinit.nnPlease look at EventSubscriberTests for more clear understanding.",
    "homepage": "https://github.com/utiko/EventSubscriber",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "uTiko": "[email protected]"
    },
    "source": {
        "git": "https://github.com/utiko/EventSubscriber.git",
        "tag": "0.2"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.0",
    "source_files": "EventSubscriber/**/*"
}

Pin It on Pinterest

Share This