MHaroonBaig / MotionKit

Get the data from Accelerometer, Gyroscope and Magnetometer in only Two or a few lines of code. CoreMotion now made insanely simple :octocat: :satellite:
http://goo.gl/bpXBlO
MIT License
1.08k stars 135 forks source link

How to add MotionKit? #6

Open scheung38 opened 9 years ago

scheung38 commented 9 years ago

I added MotionKit.swift per instruction into my project file but when inside another example.swift:

import UIKit import MotionKit

says No such module 'MotionKit'

I do see in Example project, you added by having another project 'MotionKit.xcodeproj so not sure how you generated by project inside my current project?

ryh commented 9 years ago

read the readme? Section

Using CocoaPods Using Carthage

MHaroonBaig commented 9 years ago

Thanks @ryh for the answer. @scheung38 Please follow the answer provided by @ryh. Let me know if the error persist.