SwiftUI GeometryReader

Поділитися
Вставка
  • Опубліковано 19 лис 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

  • @rafaserranogamarra7017
    @rafaserranogamarra7017 5 місяців тому

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

  • @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,但一知半解,看完這個影片又更懂了。 其中相對座標的概念是關鍵,當初卡在這很久,感謝解說

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

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

  • @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 7 місяців тому

      Every SwiftUI engineer must know it

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

    Thank you so much Stewart…

  • @rotembcohen
    @rotembcohen 7 місяців тому

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

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

    Awesome geometry reader applications. Thank you so much!

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

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

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

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

  • @edwardhasted3849
    @edwardhasted3849 5 місяців тому

    Excellent and cogent explanation - it now makes sense.

  • @wakehood
    @wakehood 4 місяці тому

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

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

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

  • @alcprado
    @alcprado 11 місяців тому

    Awesome content. Bookmarked for later research. Thank you❤

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

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

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

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

  • @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.

  • @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.

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

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

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

    Great explanation!

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

    Excellent video!

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

    Awesome presentation! Well done

  • @Jaffar-e4s
    @Jaffar-e4s 4 місяці тому

    awesome explanation

  • @rohitsainier
    @rohitsainier 4 місяці тому

    respect sir

  • @andrewbeshay6052
    @andrewbeshay6052 11 місяців тому

    very good video

  • @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?)

  • @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.

  • @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 :-)

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

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

  • @Shekerz
    @Shekerz 9 місяців тому

    Hi