- Primary IDE: Cursor
- Secondary IDE: Xcode (required for certain tasks)
- Write Swift code in Cursor IDE
- Use Xcode for interface builder and asset management
- Switch between Cursor and Xcode as needed
- Open the project in Xcode
- Select the target device (e.g., My Mac)
- Click the "Run" button (play icon) or use
Cmd + R
- In Xcode, use
Cmd + U
to run all tests - To run specific tests, navigate to the test file and click the diamond icon next to the test method
- Set breakpoints in Cursor or Xcode
- Run the app in debug mode from Xcode
- Use Xcode's debug console and interface for debugging
- Use Git for version control
- Commit changes from Cursor IDE or use a separate Git client
- In Xcode, select "Product" > "Archive"
- Once archived, click "Distribute App"
- Follow the App Store submission process in Xcode
- Keep Xcode open for quick access to interface builder and running/testing
- Use Cursor for most code editing tasks
- Regularly build and run the app to catch errors early
- Commit changes frequently
-
Main App File:
- swift:Memento Mori/Memento_MoriApp.swift
-
Content View:
- swift: Memento Mori/ContentView.swift
-
Data Model:
- swift: Memento Mori/Item.swift
Remember to regularly switch between Cursor and Xcode as needed, especially when working with interface elements or preparing for app submission.