Adventures in Swift: Playing with CMMotionManager and gravity
I recently added an iOS game embryo to GitHub: https://github.com/LarsBergqvist/GravityBall It’s a SpriteKit-based game in Swift 2.0 where you tilt the device to roll a spike ball around with the aim…