SwiftUI Grids in iOS 16

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

КОМЕНТАРІ • 18

  • @Mythlandia
    @Mythlandia 14 днів тому

    A gentle introduction to the basics of Grid

  • @larryburris6761
    @larryburris6761 10 місяців тому

    I was struggling to format data into a team standings table on the iPhone with limited space for display. After trying and failing for a couple of hours, I watched Stewart's tutorial and I had all the answers I needed in the first 5 minutes! Stewart, I can't thank you enough for explaining grids in a way that everyone can understand!

    • @StewartLynch
      @StewartLynch  10 місяців тому

      Thank for the feedback Larry.

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

    Great example - I'm off to try a grid layout in my project.

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

    This is going to be really useful to create complex layouts, thank you so much Stewart

    • @natgenesis5038
      @natgenesis5038 8 місяців тому

      Stacks are already complex useful

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

    Really great overview Stewart! I had read the SarunW article but was having problems understanding how to use the .gridCellUnsizedAxes() modifier. You made it very clear with your examples here. Thanks for putting in the time to share this with us! I find this very useful for showing grids of data on the iPhone and cannot wait to give this a try on the iPad as well. Perhaps even using TextField within the Grid / GridRows in order to create an editable grid! 🏆🌟

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

    so much. Can’t wait to start making soft.

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

    Really Awesome! I learned a lot! thank you for such nice video! Great !

  • @mr.erikchun5863
    @mr.erikchun5863 Рік тому

    Great video. Where do you learn all this?

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

      WWDC videos mostly plus reading blogs and the documentation.

  • @user-yd9xy3rb4x
    @user-yd9xy3rb4x Рік тому

    Love it

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

    Stewart how can I add array elements to a grid view but (the array starts with x number of elements, more elements can be added dynamically to the array), thanks Pierre

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

      Send me an email Pierre and we will try to sort it out

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

    This is great - I'd call this intermediate level Grid View, would you consider this Basic or Introductory?
    I haven't checked the docs, I'm assuming the size parameters are pixels? EDIT: Per David Koontz and Stwart Lynch below the size parameters are in POINTS. Thanks.

    • @DavidKoontz
      @DavidKoontz Рік тому +2

      Not pixels - points I believe - but I may be wrong. I also bet it is very hard to find in the docs... good luck.

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

      Just option click on Grid in Xcode and then click on Open in Developer Documentation to find the documentation on Grid (or other views in Swift/SwiftUI). The documentation by Apple has gotten much better. The dimensions are in Points.

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

      Points, not pixels