[Solved] Check if the player has hit a margin
Use SpriteKit. You can select this when creating a new project, choose Game, and then select SpriteKit. It’s Apple’s framework to make games. It has what you will need, and is also faster – don’t make games in UIKit. Within SpriteKit, you have the update() method, as part of SKScene. Do NOT use a while … Read more