A minimalist shopping list organizer built with SwiftUI and SwiftData, demonstrating modern iOS data persistence patterns.
ShopListManager is a simple yet effective shopping list application that helps users track their favorite shops and locations. This project showcases fundamental iOS development concepts including SwiftData persistence, navigation patterns, and form-based data entry.
- Add & Edit Shops: Create and modify shop entries with name and location
- SwiftData Persistence: Automatic data persistence using Apple's modern SwiftData framework
- Navigation-Based Editing: Clean navigation stack for intuitive user flow
- Sort Options: Placeholder menu for future sorting implementations
- Framework: SwiftUI
- Data Persistence: SwiftData
- iOS Version: iOS 17+
- Architecture: SwiftData model with NavigationStack
This project demonstrates:
- Basic SwiftData
@Modelimplementation - CRUD operations (Create, Read, Update, Delete)
- NavigationStack for hierarchical navigation
- Form-based user input handling
ShopListManager/
├── Models/
│ └── Shop.swift # SwiftData model
├── Views/
│ ├── ContentView.swift # Main list view
│ └── EditShopView.swift # Edit/Add form
└── ShopListManagerApp.swift
@Model
class Shop {
var name: String
var location: String
}SwiftData automatically handles persistence with minimal configuration in the app entry point.
- SwiftUI declarative UI design
- SwiftData modern persistence layer
- iOS navigation patterns
- Form validation and data binding
- Implement sorting functionality (by name, location, date added)
- Add search capability
- Category tagging for shops
- Map integration for locations
Author: Martynas Prascevicius Contact: mpcode@icloud.com Purpose: Learning project demonstrating SwiftData fundamentals