kivy-ios/tools/templates/{{ cookiecutter.project_name }}-ios/bridge.h

21 lines
517 B
Objective-C

#import <Foundation/Foundation.h>
#import <CoreMotion/CoreMotion.h>
@interface bridge : NSObject {
NSOperationQueue *queue;
}
@property (strong, nonatomic) CMMotionManager *motionManager;
@property (nonatomic) double ac_x;
@property (nonatomic) double ac_y;
@property (nonatomic) double ac_z;
@property (nonatomic) double gy_x;
@property (nonatomic) double gy_y;
@property (nonatomic) double gy_z;
@property (nonatomic) double mg_x;
@property (nonatomic) double mg_y;
@property (nonatomic) double mg_z;
@end