BottomSheets and PresentationDetents in SwiftUI

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

КОМЕНТАРІ • 37

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

    I'm getting back into programming after a three months hiatus and your content is a fantastic way to get back into things, before I continue on my own project again! So super thanks!

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

    Thank you Stewart… ✨💫

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

    Thanks very much Stewart...executive summaries just got a hell of a lot easier. Starting to really like this version (iOS 16)

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

    The ViewModifier is neat!

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

    What useful set of ideas. Thanks Stewart.

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

    Wow! Brilliant, Stewart, especially your last custom for variable text size. Really helpful!
    Thanks!
    Blessings,
    --Mark

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

      Thanks Mark. I am having a lot of fun creating this iOS 16 playlist. There is so much more than what appears on the surface of many of these new features.

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

    Great resource to fall back to as always!

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

    Nice info. I wanted to see how the List (table View) is handled inside such a detents. But this info is useful lalso.

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

    I’m going to use those techniques in some up coming code soon.

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

    excellent tutorial, thank you for sharing
    that extra information about accessibility is I am very much curious to know & understand
    thank you again for sharing such a valuable knowledge.
    I appreciate it

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

    Fantastic tutorial. I am just learning SwiftUI and your tutorials have been so helpful. I had a question about the fractional and height detents. Is there a way to limit the height of the sheet to just what the view presented in the sheets needs? For example, using your multi-sheet presentation example - what if one sheet view (View A) is a Form with 2 simple controls (1 TextField and a toggle button) but the second view (View B) is a longer Form with 5 lines on it. I would like the sheet to dynamically adjust and limit their height based on the height they need to properly display. If your tutorial already showed that in some way, I apologize for not seeing that. Thanks again!

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

      Sure. Here is a gist I just created for you that demonstrates one way of doing this.
      gist.github.com/StewartLynch/459f958cb1350c55b0f3c5948891d026

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

    Very helpful Stewart. 👍🏼👍🏼👍🏼

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

    Great content as usual ... and very practical. Thanks for this!

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

    Great content! Thanks for the great job!

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

    Great contents as always

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

      Glad you think so!

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

      @@StewartLynch Apart from the contents themselves, as I told my wife the other day after watching one of your videos, you give me a good example of how I would like to become one day in the future: clear, concise, polite, active, someone who does things smartly while having a good effect on the others. Cheers from Japan!

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

      Thank you so much.

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

    Great video. I have one question though… is it possible to create a custom detant based on the height of the view that’s being shown?

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

      I am not sure how that would be done as you have nothing to base that geometry on.

  • @TerryC-c9p
    @TerryC-c9p Місяць тому

    Hi Stewart, thanks for the great tutorial. I'm currently working on adding accessibility to my sheets and was wondering if you knew how to get VoiceOver to announce the height of a sheet after its height has changed. Apple Maps and Outlook seem to have this behavior. Thanks!

    • @StewartLynch
      @StewartLynch  Місяць тому

      Unfortuntately, I have not looked int to this. Sorry

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

    Thanks!

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

    How use presentation Detents together with tabview?

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

      I don't understand the question. That is what I am doing in the example. If you start at the tabView screen you will see that they are being presented with a tab.

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

    Just a little pick…..not detente but Detent pronounced DEE-TENT. It’s a switch option not a easing of hostility between countries 🤔

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

      Irregardless

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

      @@StewartLynch 😂😂

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

      Glad you can take a joke. I have been guilty of mispronunciation in the past. Depreciated vs depricated for example.