What it does
A Cursor rules file that sets how the AI writes Swift code for iOS apps built with UIKit. It asks for programmatic UI, SnapKit for Auto Layout, and views that never touch models directly, with events passed through closures.
Use cases
- 01Keep a UIKit codebase consistent across developers
- 02Generate views in code instead of Storyboards
- 03Review that UI components do not access models directly