SwiftUI GeometryReader

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

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

  • @GaryLutchansky
    @GaryLutchansky Год назад +3

    Take all the current comments and combine them together into one. That's what I have to say. Thank you, Stewart!

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

    I like your calm and clear speakers style. Very good to listen and learn. TY

  • @anupdsouza
    @anupdsouza Год назад +1

    This was very cool Stewart. I was having some issues using GeometryReader especially in complex layouts but your explanation made things absolutely clear!

  • @海森堡-x4p
    @海森堡-x4p 10 месяцев назад

    非常棒的教學影片,最近正在使用GeometryReader,但一知半解,看完這個影片又更懂了。 其中相對座標的概念是關鍵,當初卡在這很久,感謝解說

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

    Great presentation, calm, continuous, with great examples that allow the content to be clear and not become overwhelming. Love it, congratulations!!! 😜

  • @shurale85
    @shurale85 Месяц назад

    Hi! Thank you for the great content as always! It was not easy for me to get your calculation at 16:00, why you took into account 358 while frame was relative to named stack (actually real calculation is 460/2 + 208 = 438) 438 is almost bottom of green area with height 460. Then I realized about 358 part: you need to show the real position of the point so you transformed 438 to global coordinate that was screen.

  • @TuanHoang-qj3yq
    @TuanHoang-qj3yq Год назад +2

    Wow, I love geometry reader. I have always wanted to learn and understand it well especially the custom coordinate and here you explain it very well. The examples are awesome. Thanks you very much.

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

      Every SwiftUI engineer must know it

  • @holgerflick
    @holgerflick Год назад +1

    🤯 Truly impressive. I really like the example with the images in the end to bring it all together!

  • @andrejkling3886
    @andrejkling3886 Год назад +2

    Thank you so much Stewart…

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

    This is a great presentation. It made geometry Reader not so mysterious. Thanks Stewart

  • @rotembcohen
    @rotembcohen 7 месяцев назад

    This video was perfect! Thank you so much. Clear, concise and full of examples and explanations. Helped me a lot!

  • @richardhasson265
    @richardhasson265 Год назад +1

    Great explanation and super companion to your Preference Keys video. So helpful!

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

    Thanks for this very insightful tutorial which shed a great light on the capabilities of geometryReader. Lots to explore for me now 😃

  • @andresraigoza2082
    @andresraigoza2082 Год назад +1

    Awesome geometry reader applications. Thank you so much!

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

    Excellent and cogent explanation - it now makes sense.

  • @reachtorich
    @reachtorich Год назад +1

    Thank you so much for giving me some insight into this subject

  • @gakkieNL
    @gakkieNL Год назад +1

    Excellent video Stewart! I really do like the geometry reader!

  • @barche75
    @barche75 8 месяцев назад

    Super clear, super helpful 🤝. Thank you so much. Im wandering why Apple can't document things this way

  • @kenturnbull9679
    @kenturnbull9679 Год назад +1

    Great presentation and very useful ideas. Keep 'em coming.

  • @alcprado
    @alcprado 11 месяцев назад

    Awesome content. Bookmarked for later research. Thank you❤

  • @tikl21
    @tikl21 Год назад +1

    Thanks, Stewart, it's so helpful to me

  • @bobwint8114
    @bobwint8114 Год назад +1

    Very cool, thanks Stewart.😊

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

    A really good tutorial. Thanks Stewart.

  • @OGLerma
    @OGLerma Год назад +1

    Great explanation!

  • @talhaselimhan4368
    @talhaselimhan4368 Год назад +1

    Excellent video!

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

    Awesome presentation! Well done

  • @Jaffar-e4s
    @Jaffar-e4s 4 месяца назад

    awesome explanation

  • @wahhmann123
    @wahhmann123 8 месяцев назад

    Why do we use 358 + 208 + 230? I’m confused

    • @StewartLynch
      @StewartLynch  8 месяцев назад

      What is the video timestamp where I do this?

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

      @@StewartLynch same question at 16:04 , why does the coordinateSpace midY must add 208 (the other rectangle's height?)

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

    Example 1 is quite silly in my opinion. All you have to do is replace column `count: 4` with `count: min(Int(numImages), 4)`. Otherwise I love your content Stewart!

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

      I guess I can’t please 100% of the time.

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

      @@StewartLynch Actually you're my favourite Swift content creator! I just thought publicly improving on your solution would be better than staying silent :-)

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

    respect sir

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

    very good video

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

    How would a parent view enforce its dimensions to its many children so they never ‘ask’ for more space than the parent can give them?

    • @StewartLynch
      @StewartLynch  Год назад +1

      Set a frame on the parent view then you can also apply the fixedSize modifier with horizontal and vertical both set to true or false to meet your requirements

    • @ZoeSummers1701A
      @ZoeSummers1701A Год назад +1

      @@StewartLynch you’re so kind to help. And so knowledgeable. Thank you.

  • @MikeGranberry
    @MikeGranberry 8 месяцев назад

    Thanks, I believe a second viewing will be most helpful.

  • @Shekerz
    @Shekerz 9 месяцев назад

    Hi