2. MapKit with SwiftUI - Map Destination Persistence and MockData
HTML-код
- Опубликовано: 19 июл 2024
- This is the second video in the MapKit for SwiftUI series. Before we carry on to introduce new features of MapKit, I want to set up a persistence layer with SwiftData so that with the My Trips application we are building, we can save our destinations and markers to our phones so that the next time we launch the app, they will still be there.
If you want to support my work, you can buy me a coffee :)
ko-fi.com/stewartlynch
******* Download my StewartLynch RUclips Channel Application - Free **********
stewartlynch.gumroad.com/l/obsjz
Table of Contents:
0:00 Introduction
1:18 DestinationsListView
8:35 Create New Destination
12:15 Delete Destination
13:05 Refactor DestinationLocationsMapView
19:48 Add Navigation
Starter Project Branch:
github.com/StewartLynch/MyTri...
Completed Branch:
github.com/StewartLynch/MyTri...
MapKit Series Playlist
• MapKit
Other links mentioned in video:
Placemarks Array Gist
gist.github.com/StewartLynch/...
My SwiftData RUclips Series
• SwiftData
SwiftData Mastery in SwiftUI
SwiftData Mastery in SwiftUI
www.bigmountainstudio.com/swi...
Other Recommended Resources:
RocketSim - Build Apps Faster
gumroad.com/a/122988499/ftvbh
BigMountain Studio Books
SwiftUI Views Mastery
www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle
www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI
www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI
www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery
www.bigmountainstudio.com/ani...
AppCoda Books
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit)
gumroad.com/a/646790611/WihuX
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) - Starter
gumroad.com/a/646790611/mOzKq
Mastering SwiftUI 4 + Swift Programming for iOS 16 - Professional
gumroad.com/a/646790611/gjPBw
Mastering SwiftUI 4 - Starter
gumroad.com/a/646790611/TyNEz
Other References:
Stewart Lynch's RUclips Channel:
/ @stewartlynch
Stewart Lynch on Mastodon:
iosdev.space/@StewartLynch
Stewart Lynch On Threads:
@StewartLynch
Stewart Lynch on X:
x.com/StewartLynch
Stewart Lynch on LinkedIn
/ stewartlynch Наука
Very informative! Thank u Stewart
Glad you enjoyed it
Amazing
Great VideoSerie Stewart. Great use of SwiftData and SwiftUI.
I have a lot more planned here Lars. I am really excited about this series.
Fabulous as always Stewart. I was expecting this video on Sunday. Glad to get it early!
This series is coming out 2 per week.
Awesome… 🔥🔥🔥💯
Great video! Everything is so clear! Thankы!
Glad it was helpful!
Thanks!
Thank you so much!
Thanks for the clear explanations... Is there a way to pull more information from a marker such as hours of operation?
You can check the documentation to see what is available. I don’t think you get that detail though.
Great video as always stewart, I wonder, could you show how to use marker clustering in some of your next videos?
Unfortunately, this is not yet available for SwiftUI
I am having problem with the DestinationLocationsMapView. It displays locations fine in Canvas but it is not working in simulator or device. In simulator/device, it only shows entire England without any locations. Any ideas?
If you download the completed branch and test it out, do you get the same results?