-
Notifications
You must be signed in to change notification settings - Fork 2
/
VBCoordinator.podspec
26 lines (19 loc) · 1.42 KB
/
VBCoordinator.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
Pod::Spec.new do |s|
s.name = "VBCoordinator"
s.version = "1.4.0"
s.summary = "Implementation of Mediator pattern to control screens flow."
s.description = <<-DESC
Implementation of Mediator pattern to control screens flow.
Check these articles https://medium.com/blacklane-engineering/coordinators-essential-tutorial-part-i-376c836e9ba7 and https://medium.com/blacklane-engineering/coordinators-essential-tutorial-part-ii-b5ab3eb4a74 to get the idea of what coordinator is.
In short, a coordinator is a mediator between several screens or between other coordinators (screens flow). It opens ViewControllers and other coordinators. All screens are developed to be totally independent from each other. A ViewController is never opened from another one - only coordinator should do this.
You create a hierarchy of coordinators starting with the AppCoordinator. He "knows" which flow should be first depending on situation.
DESC
s.homepage = "https://github.com/valnoc/Coordinator"
s.license = 'MIT'
s.author = { "Valeriy Bezuglyy" => "[email protected]" }
s.source = { :git => "https://github.com/valnoc/Coordinator.git", :tag => "#{s.version}" }
s.swift_version = '5.2'
s.platform = :ios, '10.0'
s.requires_arc = true
s.source_files = 'Sources/**/*'
end