SwiftReporter
SwiftReporter provides simple reporting (broadcasting) functionality.
Motivation
TODO
Features
- Report (broadcast) to any number of subscribers
- React to a report with a closure
- Control subscription lifetime
Requirements
- iOS 9.0+
- Xcode 9.0+
- Swift 4.0+
Installation
CocoaPods
Add the following line to your Podfile
to get SwiftReporter
:
pod 'SwiftReporter'
Carthage
TODO
Manually
Just grab SwiftReporter.swift
file.
Why come up with this?
TODO
Separation of concerns, etc.
How SwiftReporter solves this.
Usage
Reporting / subscription / bag
import SwiftReporter
...
Alternatives
TODO
Issues
TODO
Create issue and we'll sort it out together.
License
SwiftReporter is released under the ZLIB license. See LICENSE for details.