File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33- #2 : Changed ` StateMachine ` into a class (was a struct).
44- #5 : Lowered the minimum deployment targets to iOS 8.0 and OS X 10.9.
5+ - #6 : Added support for CocoaPods.
56
67
78## [ 0.1.0] [ ] • 2015-04-29
Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ for clarity and maintainability. Can create diagrams:
66
77![ example digraph] ( example-digraph.png )
88
9- - Version 0.1 .0 (following [ Semantic Versioning] [ ] )
9+ - Version 0.2 .0 (following [ Semantic Versioning] [ ] )
1010- Developed and tested under Swift 1.2 (Xcode 6.3)
1111- Published under the [ MIT License] ( LICENSE )
1212- [ Carthage] [ ] compatible
13+ - [ CocoaPods] [ ] compatible
1314
1415 [ FSM ] : http://en.wikipedia.org/wiki/Finite-state_machine
1516 [ Semantic Versioning ] : http://semver.org/
1617 [ Carthage ] : https://github.com/Carthage/Carthage
18+ [ CocoaPods ] : https://cocoapods.org/
1719
1820
1921Table of Contents
@@ -56,11 +58,17 @@ SwiftyStateMachine is a framework — you can build it and drag it to your
5658project. We recommend using [ Carthage] [ Carthage add ] :
5759
5860 # Cartfile
59- github "macoscope/SwiftyStateMachine" == 0.1 .0
61+ github "macoscope/SwiftyStateMachine" == 0.2 .0
6062
6163 [ Carthage add ] : https://github.com/Carthage/Carthage#adding-frameworks-to-an-application
6264
6365
66+ You can also use [ CocoaPods] [ ] :
67+
68+ # Podfile
69+ pod 'SwiftyStateMachine', '0.2.0'
70+
71+
6472Example
6573-------
6674
Original file line number Diff line number Diff line change 1+ Pod ::Spec . new do |s |
2+ s . name = "SwiftyStateMachine"
3+ s . version = "0.2.0"
4+ s . summary = "A Swift µframework for creating finite-state machines, designed for clarity and maintainability."
5+ s . homepage = "https://github.com/macoscope/SwiftyStateMachine"
6+ s . license = "MIT"
7+ s . author = { "Maciej Konieczny" => "hello@narf.pl" }
8+ s . social_media_url = "https://twitter.com/narfdotpl"
9+ s . ios . deployment_target = "8.0"
10+ s . osx . deployment_target = "10.9"
11+ s . source = { :git => "https://github.com/macoscope/SwiftyStateMachine.git" , :tag => "#{ s . version } " }
12+ s . source_files = "StateMachine/*.swift"
13+ s . requires_arc = true
14+ end
You can’t perform that action at this time.
0 commit comments