Get the data from Accelerometer, Gyroscope and Magnetometer in only Two or a few lines of code. CoreMotion now made insanely simple :octocat: :satellite:
As others suggested the latest tag 0.8.1 doesn't work with Swift 2. If you really want to use it (in a non-safe way), use the master branch which works fine so far:
pod 'MotionKit', :git => 'git@github.com:MHaroonBaig/MotionKit.git'
Hope the author is able to create a proper version for it, or at least let some contributors to do it.
As others suggested the latest tag
0.8.1
doesn't work withSwift 2
. If you really want to use it (in a non-safe way), use the master branch which works fine so far:pod 'MotionKit', :git => 'git@github.com:MHaroonBaig/MotionKit.git'
Hope the author is able to create a proper version for it, or at least let some contributors to do it.