SwiftUI Dynamic Tab Indicators - Animation's - Xcode 14 - SwiftUI Tutorials

Поділитися
Вставка
  • Опубліковано 11 жов 2024

КОМЕНТАРІ • 18

  • @Ogrutsov
    @Ogrutsov Рік тому +3

    Nice to see how you improve your hard skills. I have seen your old implementation of dynamic tabs. This code seems to be much better

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

    Been Wanting to do this forever!! thanks!

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

    Great video and explanation!

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

    Good vid! How do you start to add things to the different tabs after everything is done? Im still sort of new to this.

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

      Replace the images with your respected view.
      GeometryReader {
      Image() -> YourView()
      }

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

    your the best master

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

    Bro please start using you voice in your videos to explain, it would be much better ❤

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

    amazing

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

    This is a great video, thanks! I've also been after something quite similar but slightly different - the Memoji creator menu on iOS (in the Messages app, when you tap new Memoji. It's the one with the "Skin", "Hairstyle" etc.). That's one where you can scroll through and it snaps to each title, but I'm not entirely sure how to go about creating something like that in SwiftUI. I tried a TabView but I wasn't sure how to get the titles spaced in the same way (and I think the content takes up the entire page width). What do you think would be the best way to go about recreating something like that? If you have any ideas, or even better if you could do a video on something like that that would be amazing! Thank you :)

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

    nice

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

    You are the Boss!!!

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

    Great video! I got the dynamic tab to animate when manually assigning a tab with tab bar selection, but the tab view doesn’t animate in or out with push animation. Did you experiment with this?

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

      Update tab inside withAnimation { }

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

      @@Kavsoft that does animate the dynamic tab correctly, but the tabview isn’t animating the “slide” to the next tab. If I specifically apply a .animation to tabview I also get a weird affect where both tabview and dynamic tab are animated but the animation is really slow (about 3 seconds). Were you able to animate both tabview and dynamic tab?

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

      @@EliHartnett Created the same tabBar and have same problem. Do solved this it?(

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

      @@EliHartnett If I will use dispatch after with 0.2 delay it will somehow animate but will not be smooth and with some delay. In my opinion it's because the view redraws a lot of times and it's a hard task.

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

      @@serhiikopytchuk I never figured it out either. There was always something wrong when I tried new solutions

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

    God I have to learn math. That was rough for me lol