Reviewing AI-generated Code for iOS

Nov 5 2026 · Swift 5, iOS 27, Xcode 27

Lesson 02: Using AI to Improve the Review

Using AI to Improve the Review

Episode complete

Play next episode

Next

Written by the author, AI-editedAI-generated, author-verified How this module was made

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In the last lesson, I reviewed the Tokens Dashboard app manually and found three things worth fixing. The starter project here is the same app before any of those fixes. That’s intentional because we want the AI reviewing the exact same code, so the comparison means something. I’m going to run two prompts.

Review this codebase the way a senior iOS engineer would in a pull request. Point out anything you'd flag before approving. Don't just describe what the code does.
Review this project as a senior ios engineer would in a pull request, checking specifically against each of these categories: correctness, architecture, performance,  security, accessibility, testing, and maintainability. Go through the categories one at a time and tell me what you find in each, including saying "nothing notable" for categories where there isn't an issue.
Fix everything you just classified as a real bug or crash risk. Leave everything classified as a style preference untouched. Also leave the testing gap as-is. That's out of scope here. Show me every file you plan to change before applying anything.
See forum comments
Cinema mode Download course materials from Github
Previous: Introduction Next: Conclusion