This project demonstrates a Notes app built with SwiftUI and SwiftData, highlighting advanced UI design, data modeling, and seamless user interactions.
- 📝 Notes Management:
- Organize notes with categories and track their completion status.
- Mark notes as done or delete them with intuitive swipe actions.
- 🎨 Modern UI Enhancements:
- Metadata display with timestamps and statuses.
- Dynamic sections for
To-DoandDonenotes.
- ⚡ SwiftData Integration:
- Implements relationships between models for structured data handling.
- Cascading delete rules for maintaining data integrity.
- UI Improvements:
- Swipe actions for fast note management.
- SwiftData Best Practices:
- Utilizes
@Model,@Query, andEnvironmentto handle data efficiently. - Supports extensible schema for future scalability.
- Utilizes
- Clone the repository:
git clone https://github.com/khanboy1989/SwiftDataSeries.git cd SwiftDataSeries - Open the project in Xcode.
- Run the app on an iOS 16+ simulator or device.
- SwiftUI: For declarative UI design.
- SwiftData: For robust and efficient data persistence.
- Xcode 15+: Development environment.
This app is part of the SwiftData Series on YouTube. Watch the series to learn more about SwiftData and building apps like this one:
🔗 SwiftData Series on YouTube
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the app.
This project is licensed under the MIT License. See the LICENSE file for details.