From 50d79cfc40005e3a1f3ba291514f145e2d4449d1 Mon Sep 17 00:00:00 2001 From: Dallon Archibald Date: Wed, 27 Jan 2021 21:16:01 -0500 Subject: [PATCH] Moved Core Motion Stuff --- ProjectClock/MathExpressions.swift | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ProjectClock/MathExpressions.swift b/ProjectClock/MathExpressions.swift index 3135942..d067ee0 100644 --- a/ProjectClock/MathExpressions.swift +++ b/ProjectClock/MathExpressions.swift @@ -170,21 +170,3 @@ class RPS } } -/** -//Reference: https://youtu.be/XDuchXYiWuE -class Shake { - var motionManager = CMMotionManager() - - func viewDidAppear(_ animated: Bool) { - motionManager.accelerometerUpdateInterval = 0.2 - - motionManager.startAccelerometerUpdates(to: OperationQueue.current!) { (data,error) in - if let myData = data { - if myData.acceleration.x > 5 { - print("DO SOMETHING SPECIAL") - } - } - } - } -} -*/