Skip to content

Meniny/Eventer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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 5.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)