title: Using Core Motion with swift
body: <p>I'm trying to move a SKSpiteNode only on the x-axis using the device motion. Tilting the device to the left or right to move the sprite. I'm reading about CoreMotion but I have doubts on how to implement this in my game.Is CoreMotion the right tool for this? And which functions to use ?
  Thank you any help appreciated.</p>