ReactKit / SwiftState

Elegant state machine for Swift.
MIT License
904 stars 93 forks source link

Allow Swift 2.0 code to be used by CocoaPods #26

Closed adamyanalunas closed 9 years ago

adamyanalunas commented 9 years ago

Since #25 got merged in (thanks!) it'd be nice to have an updated podspec so I can use it in my apps. However, as Swift 2.0 isn't yet in production a branch would suffice so I can do something like:

pod 'SwiftState', :git => 'git@github.com:ReactKit/SwiftState.git', :branch => 'swift-2.0'

What do you think, @inamiy?

inamiy commented 9 years ago

I think you can already use like this:

platform :osx, '10.10'
use_frameworks!

pod 'SwiftState', :git => 'https://github.com/ReactKit/SwiftState.git', :branch => 'swift/2.0'

Please be careful for branch name and OS platform (change to :ios, '8.0' if needed).