I’ve been using cursor in my day job to write python and PHP using Agent mostly with Sonnet 3.5, it works great and is fast
This weekend I set out to write a native iPhone app in Swift as a hobby project using my personal cursor account and it’s been really bad.
Linter errors all over the place, really slow, creating duplicate view controllers etc. Not good at all
I followed this guide do get up and running How to use VSCode/Cursor for iOS development | by Thomas Ricouard | Medium so using sweetpad and swiftformat with the official swift vscode extension swiftlang.swift-vscode instead of sswg.swift-lang
Things can build and run ok, so the Xcode project is all good, it’s just the agent. More often than not it goes off the rails when I ask it to do things.
Changing AI model has no effect, tried 3.7, thinking more, even 3.7 max a few times and no luck
Is there anything I can do to get the agent to play nicer with Swift? Any particular cursor rules that work well or documentation I can point cursor at?