Using SpriteKit in a SwiftUI Project
This reference article covers how to use a SpriteKit scene in a SwiftUI view.
Even though the default Game Xcode Template creates the project based on a UIKit application, you can create a SwiftUI app and put your SpriteKit game inside it without any hustle thanks to the
In the following steps, let’s take a look at how you can set up a SwiftUI project as the baseline for our SpriteKit game.
Become a free member or log in to proceed.