This is my latest project from the SwiftUI Masterclass, where I built a Wishlist app to explore SwiftData for data persistence in SwiftUI. π
This app allows users to create, save, and manage a wishlist with a smooth and simple UI. The goal was to get hands-on experience with SwiftData, leveraging its features for efficient data handling.
- SwiftData: Used
@Model
,@Query
, and@Environment(\.modelContext)
to manage data persistence. - SwiftUI: Built a clean, responsive UI with dynamic lists, toolbars, and swipe actions.
- Alerts & Overlays: Implemented an intuitive way to add new wishes with
Alert
andContentUnavailableView
. - Optimized User Experience: Added dynamic wish count tracking and an empty state placeholder.
β
Create & save wishes with SwiftData
β
Swipe-to-delete functionality
β
Dynamic wish count in the toolbar
β
Empty state UI when no wishes exist
β
Live preview support for better development
- Clone this repository.
- Open the project in Xcode (iOS 17+ recommended).
- Run the app on a simulator or a real device.
- Add, delete, and manage your wishlist!
For any feedback or collaboration, feel free to reach out:
- Email: aranfononi@gmail.com