Using a List as a custom animated menu | SwiftUI Map App #4

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 66

  • @MomoDojo
    @MomoDojo 2 роки тому +13

    Loving the intro track -- and also appreciate the diff themes for each course -- it's a subtle reminder that you're making progress as you progress from one track to another.

  • @shivaskanthan6144
    @shivaskanthan6144 2 роки тому +3

    Rotation effect. So simple yet so elegant. Nice.

  • @holycrosscv
    @holycrosscv 3 роки тому +6

    I like the music and the tutorial is AWESOME!

  • @Dois-
    @Dois- 3 роки тому +2

    This intro music gets me every time! Love it 😀

  • @30guarino
    @30guarino 3 роки тому +2

    Actually like the music and just found out about the 'push pin' to freeze the view in the canvas! Thanks for the content and have a Merry Christmas buddy!

  • @Designguidetv
    @Designguidetv Рік тому

    this video is full of little tricks that make Swift so great to work in!

  • @emrah309
    @emrah309 2 роки тому +1

    Music sounds great! Tutorial is great as well!

  • @liyicky_vids
    @liyicky_vids 2 роки тому +1

    That intro is my jam

  • @Decatilinae
    @Decatilinae 3 роки тому

    Thanks, Nick... Now I am a new subscriber member because you deserve it. Happy Christmas to you and family...

  • @Jdharty02
    @Jdharty02 2 роки тому +1

    The music is perfect 😆

  • @Mirr0rsEdge
    @Mirr0rsEdge 2 місяці тому

    Great tutorial! Love the music

  • @rithiksinhhha
    @rithiksinhhha 3 роки тому +1

    You Nailed It !

  • @helena9210
    @helena9210 2 роки тому +1

    Great music!!!

  • @marshallross
    @marshallross 2 роки тому +1

    Lovin the music 🏴󠁧󠁢󠁳󠁣󠁴󠁿

  • @XanderDev-tg9pg
    @XanderDev-tg9pg 6 місяців тому +4

    When I set the header text color to .primary, it uses the AccentColor color instead of the system colors (black/white)
    UPDATE: I was supposed to use "Color.primary" rather than just ".primary"

    • @kanamagg
      @kanamagg 3 місяці тому

      thanks, you helped me!

  • @최승기-g8f
    @최승기-g8f 2 роки тому +1

    Thank you!

  • @kimlenghor5255
    @kimlenghor5255 Рік тому

    love the music!!!

  • @mikhailkonovalov3049
    @mikhailkonovalov3049 Рік тому

    The music is awesome. It is inspiring me so much.🥳

  • @dennismallette258
    @dennismallette258 2 роки тому +2

    I like the music

  • @48kozzy78
    @48kozzy78 3 роки тому +1

    That is awesome, thank you

  • @LeviSilvaz69
    @LeviSilvaz69 Рік тому +1

    I had this error 'init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:)' was deprecated in iOS 17.0: Use Map initializers that take a MapContentBuilder instead. How to adjust ?

  • @bobbynwm
    @bobbynwm Рік тому +1

    having a sound relating to Scotland in the beginning, is not quite related to the video series, I would have chosen something related to Italy, Rome :)

  • @Natena
    @Natena Рік тому

    More I listen, more I like the music :))

  • @JeckyKA
    @JeckyKA 3 роки тому

    Awesome video, thank you!

  • @ortezan4186
    @ortezan4186 3 роки тому +3

    Hey, Nick. Love your content. You are a great educator. I follow your lessons and try to modify some things to change functionality and look. I spotted a minor bug: when you enlarge font in settings, spinning arrow is overlayed by text. My solution is to get rid of .overlay and put arrow image to hstack and make .offset(x: -20) on Text.

  • @williamwildsmith5162
    @williamwildsmith5162 2 роки тому

    I did well with the Bootcamp.
    Struggling with this one. Will do it twice I think.

  • @Y.Dimitrov
    @Y.Dimitrov Рік тому

    nice video very well explained, but i don't understand the animation part at the end 😢 23:33

  • @papasalioumbodj519
    @papasalioumbodj519 3 роки тому +4

    Suggestion tu remove the Animation part from ViewModel and put in the the View part... So you do not need to import SwiftUI in the ViewModel and keep the architecture clean...

  • @1slyboy
    @1slyboy Рік тому

    Intro music is fine.😊

  • @rithiksinhhha
    @rithiksinhhha 3 роки тому +2

    No we really liked that music😂

  • @williamwildsmith5162
    @williamwildsmith5162 2 роки тому

    Music's good!
    I live in Scotland!

  • @onefloatavenue
    @onefloatavenue Рік тому

    This is a strange one but, like other comments mentioned, the Button for updating the map region on LocationsListView simply didn't update for me. Then I replaced it with onTapGesture instead, and that does work. But it bothers me that I can't figure out why.

  • @htftechnical2926
    @htftechnical2926 6 місяців тому

    Why we are not using Struct only instead on Extension for subviews , please ?

    • @hoangminh5819
      @hoangminh5819 5 місяців тому

      probably because header was exclusive to one view. Moving it into a struct, thereby, another file in a View folder means that you would expect the same components reused in many views

  • @rohanchopra5907
    @rohanchopra5907 Рік тому

    I'm not getting the rolling down and up of the animation of the list view. I'm just getting it in and out. Anyone else having this issue?

  • @carlosjleyva6803
    @carlosjleyva6803 2 роки тому +5

    Hey Nick, im having this error on the code "Publishing changes from within view updates is not allowed, this will cause undefined behavior" I cannot understand what's the problem :( greetings

    • @땅콩크림빵-u7o
      @땅콩크림빵-u7o Рік тому

      Did you solved this problem? If you solved it, please let me know ....

  • @땅콩크림빵-u7o
    @땅콩크림빵-u7o Рік тому

    How can I solve this problem?
    '[SwiftUI] Publishing changes from within view updates is not allowed, this will cause undefined behavior."
    when run simulator. It seems do not binding a variable (included ObservableObject)

  • @fauzandwip
    @fauzandwip Рік тому

    why are u using function instead using struct listRowView: View nick?

  • @wandahu8058
    @wandahu8058 2 роки тому

    Cannot find 'withAnimation' in scope why?

    • @wandahu8058
      @wandahu8058 2 роки тому +1

      swift file did not include swift ui , need to import yourself i guess

    • @SwiftfulThinking
      @SwiftfulThinking  2 роки тому +2

      import SwiftUI (it’s part of the SwiftUI framework)

    • @wandahu8058
      @wandahu8058 2 роки тому

      @@SwiftfulThinking Yes!

    • @wandahu8058
      @wandahu8058 2 роки тому

      @@SwiftfulThinking Is there a place to discuss study issues? No one wants to communicate on discord🤣

  • @chrisstromberg6527
    @chrisstromberg6527 Рік тому

    🎶🎶👍👍

  • @chepparing
    @chepparing Рік тому

    The music is okay

  • @pauleasom2818
    @pauleasom2818 3 роки тому

    Hi Great tutorials but I'm having problems with the Foreach causing this error, Referencing initializer 'init(_:content:)' on 'ForEach' requires that 'Location' conform to 'Identifiable'. how do I fix it?

    • @dovwang9489
      @dovwang9489 2 роки тому +1

      struct Location: Identifiable

  • @richardcoterie8091
    @richardcoterie8091 Рік тому

    21:47

  • @richardcoterie8091
    @richardcoterie8091 Рік тому

    5:19

  • @charlesokello2671
    @charlesokello2671 2 роки тому

    The Mexican music on the Intermediate Crypto app is, by far, the best. I think you should have worn a sombrero to go with it.

  • @andresp1582
    @andresp1582 Рік тому

    That music intro is horrendous. The tutorial has been going well though haha

  • @alx1931
    @alx1931 10 місяців тому +1

    music just as bad lol. could be worse though ;)

  • @trungnguyenthanh9233
    @trungnguyenthanh9233 Рік тому

    Learn that

  • @ilyasilyas-rk4zl
    @ilyasilyas-rk4zl 4 місяці тому

    in this part use this line
    @Published var mapRegion: MKCoordinateRegion = MKCoordinateRegion()
    @Published var mapReg: MapCameraPosition = .region(.myReg)
    private func updateMapRegion(location: Location){
    withAnimation(.easeInOut) {
    mapRegion = MKCoordinateRegion(
    center: location.coordinates,
    span: mapSpan)
    -------------------- -----> this line mapReg = .region(mapRegion)

  • @fabiocuriel79
    @fabiocuriel79 2 роки тому

    I followed the tutorial and using the button to select the city from the list didn't work. Fixed it using onTapGesture() in ForEach of ListRowView.

    • @hwmania6777
      @hwmania6777 2 роки тому

      I am getting the same problem. What did you do exactly to fix it?

    • @atholruston6260
      @atholruston6260 Рік тому

      This is happening to me but I don't understand your solution. Please could you show the code?

  • @magedmohmed4403
    @magedmohmed4403 2 роки тому

    Again I am enjoyed for your Explanation Nick 🤎🤎