title: Swift 3.0 how to use startDeviceMotionUpdates(to: withHandler)?
body: <p>Swift 3.0 was released alongside Xcode 8.0 and apparently a lot has changed. I'm very unfamiliar with the new syntax in swift. Can someone help me out? I'm trying to figure out what goes in</p>
  
  <pre><code>motionManager.startDeviceMotionUpdates(
          to: OperationQueue.current()!,
          withHandler: )
  </code></pre>
  
  <p>after the "withHandler:"</p>
  
  <p>I am trying to get my SceneKit program be able to utilize the accelerometer to determine the orientation of an SCNNode platform. I am also fairly new to swift (about 5 days into programming in Swift) so if there's something fundamental I am messing up, let me know.</p>