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
  • НаукаНаука

Комментарии • 18

  • @ZTagger97
    @ZTagger97 17 дней назад

    Very informative! Thank u Stewart

  • @Leonard_photography
    @Leonard_photography 17 дней назад

    Amazing

  • @larschristiansen3136
    @larschristiansen3136 6 месяцев назад +1

    Great VideoSerie Stewart. Great use of SwiftData and SwiftUI.

    • @StewartLynch
      @StewartLynch  6 месяцев назад

      I have a lot more planned here Lars. I am really excited about this series.

  • @holycrosscv
    @holycrosscv 4 месяца назад

    Fabulous as always Stewart. I was expecting this video on Sunday. Glad to get it early!

    • @StewartLynch
      @StewartLynch  4 месяца назад +2

      This series is coming out 2 per week.

  • @andrejkling3886
    @andrejkling3886 4 месяца назад +1

    Awesome… 🔥🔥🔥💯

  • @georgeusynin920
    @georgeusynin920 3 месяца назад

    Great video! Everything is so clear! Thankы!

  • @maxspeed2k
    @maxspeed2k 3 месяца назад

    Thanks!

  • @maxspeed2k
    @maxspeed2k 3 месяца назад

    Thanks for the clear explanations... Is there a way to pull more information from a marker such as hours of operation?

    • @StewartLynch
      @StewartLynch  3 месяца назад +1

      You can check the documentation to see what is available. I don’t think you get that detail though.

  • @franciscocastellon1556
    @franciscocastellon1556 4 месяца назад

    Great video as always stewart, I wonder, could you show how to use marker clustering in some of your next videos?

    • @StewartLynch
      @StewartLynch  4 месяца назад +1

      Unfortunately, this is not yet available for SwiftUI

  • @davehall6001
    @davehall6001 3 месяца назад

    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?

    • @StewartLynch
      @StewartLynch  3 месяца назад

      If you download the completed branch and test it out, do you get the same results?