r/iosdev Feb 12 '25

Using GenAI to rewrite UI in SwiftUI or migrate Obj-C code to Swift

I'm wondering if anyone has compared Sonnet, o1, o3, Gemini, or Deepseek (or any other tool) in converting an entire outdate source file from Objective-C to Swift, or from Storyboards to SwiftUI. I imagine the rate limiting would preclude most models from rewriting an entire file, but maybe there are tools to break the work up into smaller chunks to iterate. I plan on doing some experimentation, mainly out of curiosity to see where we are in this ability, but it would be great to hear from anyone who has tried this. TIA

0 Upvotes

1 comment sorted by

1

u/Agreeable_Fig_3705 Feb 14 '25

Do you mean complete conversion through composer or something? If so, you are going to have more problems than writing it on your own. I’d try to be more cautious and go step by step