7. MapKit with SwiftUI - User Location and LocationManager

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

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

  • @jorgezuniga3956
    @jorgezuniga3956 Месяц назад

    one of the few giving a practical and complete coverage with swiftui! apple documentation is honestly lacking in many aspects regarding practical usage of mapkit in swiftui. your tutorial has been of great help!

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

    Great video.
    I am not sure how anybody is meant to read and understand all the options and information given in the Apple Documentation. Your knowledge is commendable.
    This video does answer a a behaviour I have noticed recently. It is all about going to the Setting Screen and drilling down to the exact setting required. It used to work automatically, but now doesn't, because Apple changed the way it works!! I did not know that before watching your video.

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

    Hi Stewart, thanks for this Video 🙏🏻. This was very useful for me. 🙏 Berkant

  • @saodatashurova9430
    @saodatashurova9430 5 месяцев назад +1

    I'm grateful for the knowledge you've shared🤩🤩🤩

  • @bashtinator
    @bashtinator 5 месяцев назад

    In the locationManagerDidChangeAuthorization(_ manager: CLLocationManager) i think you are omitting the .restricted case to fall under the default case which looks wrong in my oppinion.
    Other than that amazing series and saved me a bunch of time. Cheers Stewart, thank you for the amazing job you are doing.

  • @jasonstars7847
    @jasonstars7847 2 месяца назад

    Ur the best i look ur videos since one week to create my app but i still have one question : how show the blue sonar to indicate the direction forward of the user ?

  • @mathewcrovitz7867
    @mathewcrovitz7867 Месяц назад

    Hi - I meant to add…. When you were doing your final testing, in the simulator, when you went into the Trip tab, you had locations available to click on (yellow start). However, during the development, there were times where I / you deleted the app from the simulator, to emulate asking for permission for using location, etc…. Did you re-add your locations, or, some other trick to preserve the locations you had, across the deleting the app (and losing data)? Thanks… (Opps - meant for this to be under lecture 8)

    • @StewartLynch
      @StewartLynch  Месяц назад

      I honestly don't remember, but I may have simply made a copy of the Store file before deleting, and then adding it back again after reinstalling

    • @mathewcrovitz7867
      @mathewcrovitz7867 Месяц назад

      @@StewartLynch ha ha - I get it... I thought that may have been it, but, just making sure I didn't miss something :-) Thanks!

  • @mathewcrovitz7867
    @mathewcrovitz7867 2 месяца назад

    Working through this…. Like your style…. One quick Xcode usage question. When you go to say at the MapReader around the map, you’re doing some kind of keystroke to make that happen, without having to find the end of the block you’re “wrapping”. I get there eventually, but what’s the “magic”? Thanks….

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

      Can you give me a time stamp so I can see what you are referring to?

    • @mathewcrovitz7867
      @mathewcrovitz7867 2 месяца назад

      @@StewartLynch No wonder I confused you - I thought I was commenting on the prior episode…. @2:25 or so, where you embed the map in a mapReader….

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

      @@mathewcrovitz7867 Nothing special here. In encode, if you select any text and then type an opening (parenthesis - ( or bracket [ or brace { the selected text will get enclosed by adding the trailing one and it will indent the block. The cursor is placed in front so you can type whatever you want. I use this all the time to enclose code in a NavigationStack, VStack, etc. That is what I use for the MapReader