Skip to content
Prompt

ios-cursor-rules — Cursor Rules

by brunogama

AI Summary

iOS Cursor Rules provides architectural guidance and best practices for AI-assisted iOS development in Cursor, covering MVC/MVVM/VIPER patterns and SwiftUI conventions to help developers maintain clean, scalable code.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "ios-cursor-rules — Cursor Rules" prompt rules to my project.
Repository: https://github.com/brunogama/ios-cursor-rules

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

ios cursor rules

App Store Requirements

• Follow Human Interface Guidelines (HIG) • Ensure compliance with App Store Review Guidelines • Include required privacy labels and descriptions • Add App Tracking Transparency (ATT) prompt if needed • Provide complete and accurate metadata

iOS Development Best Practices

As an AI assistant working on iOS applications, I should follow these guidelines to ensure high-quality, user-friendly, and efficient iOS apps.

Architecture Patterns

• Use appropriate architecture patterns based on app complexity: • MVC: Simple apps or when following Apple's basic patterns • MVVM: Medium complexity apps, works well with SwiftUI/Combine • VIPER/Clean: Complex apps requiring clear separation of concerns • Composable Architecture: Advanced reactive apps with predictable state management • Keep view controllers/views lightweight by moving business logic to separate components • Use coordinator pattern for complex navigation flows • Consider feature-based modularization for large applications

Project Organization

• Organize project by feature, not by type • Use Swift packages to modularize components • Group related files in logical folders • Utilize Xcode's project navigator groups to maintain code organization ` AppProject/ ├── Core/ │ ├── Networking/ │ ├── Storage/ │ ├── Authentication/ │ └── Common UI Components/ ├── Features/ │ ├── User Profile/ │ │ ├── Models/ │ │ ├── Views/ │ │ └── ViewModels/ │ ├── Shopping Cart/ │ │ ├── Models/ │ │ ├── Views/ │ │ └── ViewModels/ ├── Resources/ │ ├── Assets.xcassets/ │ ├── Localization/ │ └── Fonts/ └── Supporting Files/ ├── AppDelegate.swift ├── SceneDelegate.swift ├── Info.plist └── Configuration/ `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 10mo ago
Stale
AdoptionUnder 100 stars
64 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars64
Forks8
Issues0
Updated10mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more