CSC 214
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.
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。