Email or username:

Password:

Forgot your password?
Steve Troughton-Smith

At this point, I really would appreciate a tool that just parses an Xcode SceneKit .scn scene and spits out a built-in-code representation of it. Xcode's SceneKit editor has been a liability for years, and it exhausts all my energy to fix its compatibility issues every time I update my projects 😪 PaintCode, but for SceneKit scenes

3 comments
Steve Troughton-Smith

Just had my mind blown: So I NSLogged a description of my SceneKit hierarchy for the luls and gave it to ChatGPT and told it to turn it into Swift code. Gibberish, right? Well it had NO PROBLEM figuring out what I meant, and it just did what I wanted 🤯

Steve Troughton-Smith

omg ChatGPT can parse Interface Builder XML and output code too? I just dropped my Launch Storyboard into it 😱

Steve Troughton-Smith

So I crafted a storyboard in Interface Builder (pic 1). I then took that XML, pasted it into ChatGPT, and asked it to rewrite it in SwiftUI. It gave me SwiftUI code that, with the tiniest bit of massaging, I could drop into Playgrounds to get the following app (pic 2). It did take some liberties and didn't get it 100% correct, but it's pretty darn close

Go Up