-
Notifications
You must be signed in to change notification settings - Fork 68
/
RxFeedback.podspec
42 lines (40 loc) · 1.95 KB
/
RxFeedback.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Pod::Spec.new do |s|
s.name = "RxFeedback"
s.version = "4.0.0"
s.summary = "Simplest architecture for RxSwift. State + feedback loops."
s.description = <<-DESC
* Straightforward
* If it did happen -> Event
* If it should happen -> Request
* To fulfill Request -> Feedback loop
* Declarative
* System behavior is first declaratively specified and effects begin after subscribe is called => Compile time proof there are no "unhandled states"
* Debugging is easier
* A lot of logic is just normal pure function that can be debugged using Xcode debugger, or just printing the commands.
* Can be applied on any level
* [Entire system](https://kafka.apache.org/documentation/)
* application (state is stored inside a database, CoreData, Firebase, Realm)
* view controller (state is stored inside `system` operator)
* inside feedback loop (another `system` operator inside feedback loop)
* Works awesome with dependency injection
* Testing
* Reducer is a pure function, just call it and assert results
* In case effects are being tested -> TestScheduler
* Can model circular dependencies
* Completely separates business logic from effects (Rx).
* Business logic can be transpiled between platforms (ShiftJS, C++, J2ObjC)
DESC
s.homepage = "https://github.com/NoTests/RxFeedback.swift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Krunoslav Zaher" => "krunoslav.zaher@gmail.com" }
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.10"
s.watchos.deployment_target = "3.0"
s.tvos.deployment_target = "9.0"
s.source = { :git => "https://github.com/NoTests/RxFeedback.swift.git", :tag => s.version.to_s }
s.source_files = "Sources/**/*.swift"
s.frameworks = "Foundation"
s.swift_version = '5.0'
s.dependency 'RxSwift', '~> 6.0'
s.dependency 'RxCocoa', '~> 6.0'
end