Creating our SpriteKit game
Now that we know the goal of our game, here's how we go about building it in SpriteKit:
- First, open Xcode and create a new project.
- Now select the Game template and click on Next.
- Next, fill in the product name. We will name this project
SwiftSweeperExample and make sure that the language is Swift with SpriteKit selected as the game technology as well as the devices set to iPhone.
- Then, click on Next, and we now have a brand new SpriteKit game project with a number of files already written up for us to get us started.
- Now click ...