r/iOSProgramming • • Oct 25 '26

Discussion Shipped my first Swift app with AI, then built a game to learn the codebase

10 years as a developer, zero Swift. I relied heavily on AI to write the code. My experience made the calls:

- I threat-modelled it like any security product, found and closed a way to switch off all protection.

- I switched out the custom face matcher (it let strangers in) for Apple’s Face ID.

- Keychain for secrets, no third-party SDKs, no tracking.

- I tested on real device instead of trusting “it builds”.

Then the part most people skip: I learned the code after shipping. I had Claude turn my own codebase into a game, Code Quest. It only covers what's different about Swift (optionals, value types, actors, SwiftUI state), uses real lines from my app, and ends with a code-review level of plausible PRs that would break things.

AI can write it. You still have to own it.

Does it matter to you that you understand your codebase? If so, how do you go about doing it?

0 Upvotes

6 comments sorted by

1

u/coder-k876 Oct 25 '26

Interesting insight. I created a new branch for the quest. That way, it doesn’t impact my production codebase

1

u/coder-k876 Oct 25 '26

Because of how useful it is for me to learn my codebase, I made a version that is more generally swift and not my code base to share.

I would share the link here but I’m not sure if that is allowed. You can dm me for it if you want to try it out. It runs directly from your browser, no account or anything.

1

u/[deleted] Oct 25 '26

[removed] — view removed comment

1

u/coder-k876 Oct 25 '26

Okay. Thanks for that suggestion. I’ll look into it