diff --git a/HISTORY.md b/HISTORY.md index 07ebb12..633e71d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -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 diff --git a/README.md b/README.md index bfc7530..d390e42 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 ------- diff --git a/SwiftyStateMachine.podspec b/SwiftyStateMachine.podspec new file mode 100644 index 0000000..dc978b2 --- /dev/null +++ b/SwiftyStateMachine.podspec @@ -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