Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- #2: Changed `StateMachine` into a class (was a struct).
- #5: Lowered the minimum deployment targets to iOS 8.0 and OS X 10.9.
- #6: Added support for CocoaPods.


## [0.1.0][] • 2015-04-29
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ for clarity and maintainability. Can create diagrams:

![example digraph](example-digraph.png)

- Version 0.1.0 (following [Semantic Versioning][])
- Version 0.2.0 (following [Semantic Versioning][])
- Developed and tested under Swift 1.2 (Xcode 6.3)
- Published under the [MIT License](LICENSE)
- [Carthage][] compatible
- [CocoaPods][] compatible

[FSM]: http://en.wikipedia.org/wiki/Finite-state_machine
[Semantic Versioning]: http://semver.org/
[Carthage]: https://github.com/Carthage/Carthage
[CocoaPods]: https://cocoapods.org/


Table of Contents
Expand Down Expand Up @@ -56,11 +58,17 @@ SwiftyStateMachine is a framework — you can build it and drag it to your
project. We recommend using [Carthage][Carthage add]:

# Cartfile
github "macoscope/SwiftyStateMachine" == 0.1.0
github "macoscope/SwiftyStateMachine" == 0.2.0

[Carthage add]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application


You can also use [CocoaPods][]:

# Podfile
pod 'SwiftyStateMachine', '0.2.0'


Example
-------

Expand Down
14 changes: 14 additions & 0 deletions SwiftyStateMachine.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Pod::Spec.new do |s|
s.name = "SwiftyStateMachine"
s.version = "0.2.0"
s.summary = "A Swift µframework for creating finite-state machines, designed for clarity and maintainability."
s.homepage = "https://github.com/macoscope/SwiftyStateMachine"
s.license = "MIT"
s.author = { "Maciej Konieczny" => "hello@narf.pl" }
s.social_media_url = "https://twitter.com/narfdotpl"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.9"
s.source = { :git => "https://github.com/macoscope/SwiftyStateMachine.git", :tag => "#{s.version}" }
s.source_files = "StateMachine/*.swift"
s.requires_arc = true
end