Event bus for iOS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Eventer
Sample
.gitignore
Eventer.podspec
LICENSE.md
README.md
_config.yml

README.md


Version Author Build Passing Swift
Platforms MIT
Cocoapods Carthage SPM

🏵 Introduction

Eventer is a tiny event post/subscribe library for iOS.

📋 Requirements

  • iOS 8.0+
  • Xcode 9.0+ with Swift 4.0+

📲 Installation

Eventer is available on CocoaPods:

use_frameworks!
pod 'Eventer'

❤️ Contribution

You are welcome to fork and submit pull requests.

🔖 License

Eventer is open-sourced software, licensed under the MIT license.

💫 Usage

Eventer.on(self, name: "EventName") { (notification) in
    // ...
}
Eventer.onMainThread(self, name: "AnotherEventName") { (_) in
    // ...
}
Eventer.post(EventName.didAppear.rawValue, on: .main)
Eventer.unregister(self)