Email or username:

Password:

Forgot your password?
Top-level
Steve Troughton-Smith

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

1 comment
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