Project #2
Create a SwiftData app called Digz that helps users finding an apartment.
You need to combine SwiftData with Core Location and MapKit to complete this assignment. You are given MapView and LocationVM.
Icon, AccentColor, Orientation, Permissions [20 points]
Add an app icon, customize your AccentColor, restrict your app to portrait mode and add any permissions required by Core Location.
Data Model [20 points]
Update your data model with title, rent, sqft, address, latitude, longitude, notes and phone number properties.
AddApartmentView [40 points]
Add a form-based AddApartmentView as seen to collect all required data with the exception of latitude and longitude which are generated with LocationVM.
ApartmentView [40 points]
Add an ApartmentView as seen to show your data points and a large MapView: title, rent, sqft, address, phone, date, notes, and a Map.
ContentView [40 points]
Your ContentView displays an editable list of apartments as seen. Items show a small square Map, title, rent and sqft (with labels) and navigate to the ApartmentView when tapped.
NumberFormatter [10 points]
Use a NumberFormatter to indicate the rent in USD.
DateFormatter [10 points]
Use a DateFormatter to display the timestamp at the bottom of ApartmentView with short date and time styles.
Custom Feature [20 points]
Tell us what you did and we will grade it. Make it worthy.
Deductions
Issues with git (4 commits min.), dark mode issues, missing previews, crashes, packaging defects, presentation no-shows, etc.