Skip to content

Commit 350f9a0

Browse files
committed
Merge pull request #10 from macoscope/6-0.2.0-plus-cocoapods
6 0.2.0 plus cocoapods
2 parents 96f87bd + cdfb30e commit 350f9a0

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

HISTORY.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
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

README.md

+10-2
Original file line numberDiff line numberDiff 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

1921
Table of Contents
@@ -56,11 +58,17 @@ SwiftyStateMachine is a framework — you can build it and drag it to your
5658
project. 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+
6472
Example
6573
-------
6674

SwiftyStateMachine.podspec

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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" => "[email protected]" }
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

0 commit comments

Comments
 (0)