2026-06-19 19:53:54 +09:00

22 lines
1.0 KiB
Markdown

# LemonLimeTracker Project Guidelines
## Core Rules & Constraints
- **NO Paid Entitlements**: NEVER add CloudKit, iCloud sync, App Groups, or Remote Notifications to Xcode Signing & Capabilities. Avoid build errors.
- **Persistence**: Use strictly local SwiftData. Do NOT use `NSPersistentCloudKitContainer`.
## Architecture & Future Scope
- **Pattern**: Clean Architecture + MVVM.
- **Repository Pattern**: Strict separation of Data processing (SwiftData) and UI Views to allow easy future integration of CloudKit, Apple Watch, and Widgets.
- **Folder Structure**:
- `IOS/Models`: SwiftData Models (Task, Category, Goal, Log).
- `IOS/Repositories`: Data access layer (Protocols + Implementations).
- `IOS/ViewModels`: Business logic (`@Observable`).
- `IOS/Views`: SwiftUI Views.
- `IOS/Core`: App entry point, Constants, ActivityKit.
- `IOS/Resources`: Assets, Info.plist, Localizable.strings.
## UI / Design System
- **Light Mode**: Green, Yellow, White.
- **Dark Mode**: Green, Yellow, Black.
- **Localization**: Default is Korean. Support English.