Latest 0.1.0.1
Homepage https://github.com/rurza/MPIMotionKit
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, CoreMotion
Authors

[![CI Status](http://img.shields.io/travis/Adam Różyński/MPIMotionKit.svg?style=flat)](https://travis-ci.org/Adam Różyński/MPIMotionKit)
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

MPIMotionKit is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "MPIMotionKit"

Using

Initialize

MPIMotionManager is a singleton class.

[MPIMotionManager sharedManager];

So using it is super simple.
Take code from example:


[[MPIMotionManager sharedManager] getAccelerometerValuesWithTimeInterval:UPDATE_INTERVAL 
                                                              andHandler:^(MPIMotionData motionAccelData) 
{
    //do something with motionAccelData like:
    NSLog(@"%f %f %f", motionAccelData.x, motionAccelData.y, motionAccelData.z);
}];

Author

Adam Różyński, [email protected]

License

MPIMotionKit is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MPIMotionKit",
    "version": "0.1.0.1",
    "summary": "Super simple to use wrapper for CoreMotion.",
    "description": "Super simple to use wrapper for CoreMotion written in Objective-C. Idea based on MotionKit in Swift written by MHaroonBaig => https://github.com/MHaroonBaig",
    "homepage": "https://github.com/rurza/MPIMotionKit",
    "license": "MIT",
    "authors": {
        "Adam Rou0301zu0307ynu0301ski": "[email protected]"
    },
    "source": {
        "git": "https://github.com/rurza/MPIMotionKit.git",
        "tag": "0.1.0.1"
    },
    "social_media_url": "https://twitter.com/rurza",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "MPIMotionKit": [
            "Pod/Assets/*.png"
        ]
    },
    "frameworks": [
        "Foundation",
        "CoreMotion"
    ]
}

Pin It on Pinterest

Share This