Interactive Side Menu / Hamburger Menu - iOS 17 - Xcode 15

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

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

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

    Sometimes Gesture recognises child views with horizontal scroll view, but putting the content of the drag gesture onChanged into DispatchQueue solves the issue.
    From:
    .onChanged { value in
    guard value.startLocation.x > 10 else { return }
    /// Existing Code
    }
    to
    .onChanged { value in
    DispatchQueue.main.asyncAfter(deadline: .now()) {
    guard value.startLocation.x > 10, isDragging else { return }
    /// Existing Code
    }
    }

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

    Excellent job... 💯

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

    Impressive! Thank you!

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

    You are an ABSOLUTE LEGEND!!!!!!! I have used a few of your tutorials to help build an app, actually having a very annoying bug, it’s to do with your horizontal parallax scrolling code, could I PM you with a question?

  • @RohitGupta-lc6ih
    @RohitGupta-lc6ih 4 месяца назад

    Really impressive! Couple of questions
    1. How do you cancel the sidebar on click of a button? Not sure, how to call reset() when button is clicked.
    2. It will be good to have scrolling on the menu items
    3. I am also trying to change the view on tap of a button and have an existing Tab View that is visible. This would be additional tab view and don’t know if that’s the right approach

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

      1. After tab change use showMenu.toggle()
      2. Put the tab button in ScrollView
      3. Just let tabBar visible

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

    Amazing as always!! I have a request: SwiftUI code for profile picture adjustment; like social media apps. When setting a new profile picture you get the adjustment screen where you can zoom in & out, move it in any direction and fit the subject in the allowed space (usually a circle). Thank you!

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

      Check this out,
      ruclips.net/video/1Fz86eQjxus/видео.html

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

      @@Kavsoft that’s exactly what I wanted. Thank you!

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

    is there a way to disable it for child views?

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

    How do I make it so each button changes to a specific tab view?

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

      Use TabView with a selection and change the selection when the button is tapped, also, hide the default tab bar using
      toolbar(.hidden, for: .tabbar)

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

    How to use a NavigationLink for the Tabs ?? I could until now use only a sheet. If I use a NavigationStack, wich is required for NavigationLink, the UI of the SideBar will broke.

    • @user-uu6hf9dw7t
      @user-uu6hf9dw7t Месяц назад

      have you solved this problem yet?
      i am confusing about it too

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

    Can you provide a video where Instagram explore section page opening and closing animation like Instagram

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

      Check this out,
      ruclips.net/video/HiCR-K9ec4A/видео.html

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

    Full stack project please