Development Blog (semi)random.thoughts()

October 2019

[Deprecated] SwiftUI as UI for SpriteKit games

Update 2020-06-23: in Xcode 12, Apple introduced a native solution for integrating SpriteKit and SwiftUI. Learn more here: https://www.hackingwithswift.com/quick-start/swiftui/how-to-integrate-spritekit-using-spriteview

———— Original post follows ————
For my HexMap project, I use SwiftUI to create the game's GUI.

Schermafbeelding 2019-10-31 om 21.47.33

In this tutorial, I'll show (with a simpler) example how I integrate SwiftUI and SpriteKit. Read Moreā€¦

We value your privacy. This site collects only information required to provide you this Service. For more information, read our privacy policy.