Files
GetGoing/ProjectClock/NotificationLogic.swift
T
2021-01-13 12:30:36 -05:00

36 lines
471 B
Swift

//
// NotificationLogic.swift
// ProjectClock
//
// Created by Aaron Saporito on 1/13/21.
//
import Foundation
import CoreMotion
let motionManager = CMMotionManager()
func getAccelerometer() {
motionManager.startAccelerometerUpdates()
if let accelerometerData = motionManager.accelerometerData {
print(accelerometerData)
}
}
func walkAction() {
}
func jumpAction() {
}
func puzzleAction() {
}
func smashAction() {
}