Categories
Apple TV iOS Motion Detection ObjectiveC SWIFT

How to combine / convert ObjectiveC into SWIFT

Welcome to Part 12 of my blog series about game development: convert ObjectiveC into SWIFT Today I’ll show how to combine SWIFT with Objective-C code. There is no need to migrate all of your existing code to SWIFT. You’ll not sell one App more, if this is the only improvement of your new version. Not […]

Categories
iOS Motion Detection ObjectiveC Parallax Effect Scrolling

HowTo: Use the Device Motion Sensors to control your game

  Welcome to Part 6 of my blog series about game development: Device Motion Sensors Today I’ll include motion detection to control the movement of my game. iOS offers a powerful API to handle motion detection with the CMMotionManager class. Let’s start with a small standalone project to show how to use the motion detection: