SwiftUI Tutorial - How to create a side menu (hamburger menu) | BLCKBIRDS

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • Written version: www.blckbirds....
    In this tutorial, we will learn how to create a side menu with a smooth slide-out animation, also called hamburger menu. These kinds of menus are often used in Android apps, but can also be useful in iOS apps as an alternative or addition to tab bars.
    Make sure you visit www.blckbirds.com for more free SwiftUI tutorials and follow us on / _blckbirds

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

  • @giguerea
    @giguerea 4 года назад +2

    nice thanks, 2 nice additions would be to dim the main view while the menu is displayed and also, it would be nice to control the swipe like the gmail app, right now you need to do the drag gesture then after the menu is dismiss, the menu view should should be offset in realtime (right to left)

  • @JonadanLee
    @JonadanLee 4 года назад +1

    Thank you for you're lecture. I will promote your channel in my blog.

  • @nidhilalani4619
    @nidhilalani4619 4 года назад +4

    Can you please help me with screen redirection in other views as well? I can say If I tap on profile it must redirect to profile screen, and same with other options too.

  • @illmetbymoonlight3318
    @illmetbymoonlight3318 Год назад

    am I able to keep that hamburger button where its at without the open menu button in the middle of the screen ? or will it get screwed up if I delete that button from the center of the screen

  • @forrestanderson2885
    @forrestanderson2885 4 года назад

    Excellent tutorial. Thank you!

  • @BijendraSingh
    @BijendraSingh 3 года назад

    Background music is very impressive

  • @jprjuly47
    @jprjuly47 3 года назад

    Doesn't work correctly in on the Max platforms or iPad, initial screen doesn't show bar title, when click menu, then view slides in but it is what should have been there initially and it is too narrow, when hit menu, then menu view is truncated from left.

  • @jamilamini7807
    @jamilamini7807 4 года назад

    clean and neat very helpful thanks

  • @crazyjoeybb
    @crazyjoeybb 4 года назад

    Instead of a navigationView Can I just code a floating bottom to be placed at the top right corner and have it open up the side menu?

  • @pickemparty
    @pickemparty 4 года назад

    Is there a way to move the slide the navigation bar of the main view over when the menu view opens?

  • @ix901x
    @ix901x 3 года назад

    You did explain how to show menu only , this is not a complete tutorial , all the problem is how you can tab on menu then close the menu and change the view
    it's tricky , I hope you update this video or create new one explain can we do that ! , Thank very much

  • @mig12394
    @mig12394 4 года назад

    Thanks, I learned a lot !

  • @nasrinheera7944
    @nasrinheera7944 4 года назад

    i got error in VStack(alignment: .leading)..why??

  • @leraevans2170
    @leraevans2170 4 года назад

    what about swipe? how i can open menu by swipe?

  • @gmikay
    @gmikay 4 года назад

    Wow, that's amazing

  • @yoanntourtellier4723
    @yoanntourtellier4723 4 года назад +1

    Hello, super Tuto. But I can't create a link from the menu to a new view. Do I need to use a button or navigation link? And where to put him in the code? Thank you very much:)

    • @codypchristian
      @codypchristian 4 года назад +1

      Im wondering how to do the same thing as well.

    • @BLCKBIRDS
      @BLCKBIRDS  4 года назад

      Hey there, thanks for your feedback! For your question, please take a look at this tutorial: www.blckbirds.com/post/how-to-navigate-between-views-in-swiftui-by-using-an-bindableobject

  • @nicwanavit5463
    @nicwanavit5463 4 года назад

    thats really awesome (except the annoying music)

  • @josephlabs
    @josephlabs 4 года назад

    Do I need Geometry Reader?

    • @BLCKBIRDS
      @BLCKBIRDS  4 года назад +1

      You need it if you want your layout's size to by dynamic

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

    the music is really stupid