Meet Beam π΅ Introduction Beam is an EventBus implementation written in Swift.. π Requirements Type Requirement Platform iOS 9.0+ macOS 10.10 tvOS 9.0 watchOS 2.0 Linux N/A IDE Xcode 9.3+ Language Swift 4.1+ π² Installation CocoaPods Beam is available on CocoaPods. use_frameworks! pod 'Beam' Manually Copy all files in the Beam directory into your project. π Dependency N/A β€οΈ Contribution You are welcome to fork and submit pull requests. π License Beam is open-sourced software, licensed under the MIT license. π« Usage import Beam enum TestEvent: String, Event { case callback } import Beam class SomeClass { init() { Beam<TestEvent>.register(self) { (event) in // ... } } deinit { Beam<TestEvent>.unregister(self) } } import Beam Beam<TestEvent>.post(TestEvent.callback)