Laying out views with ContainerRelativeFrame in SwiftUI

Поделиться
HTML-код
  • Опубликовано: 19 июл 2024
  • In this video, I want to return to my Deeper Understanding series and dig into the ContainerRelativeFrame view modifier for SwiftUI.
    It is a powerful modifier, but there are some things you need to be aware of before you start to implement it in your own projects.
    If you want to support my work, you can buy me a coffee :)
    ko-fi.com/stewartlynch
    ******* Download my StewartLynch RUclips Channel Application - Free **********
    stewartlynch.gumroad.com/l/obsjz T
    Table of Contents:
    0:00 Introduction
    1:58 The Basics
    4:45 Relative Sizing View
    8:05 More Relative Sizing
    10:05 Count and Span
    12:35 Image Carousel
    Starter Project Files:
    (If you are having problems downloading zip files, use Safari. Chrome restricts zip files by default)
    github.com/StewartLynch/Conta...
    Completed Project:
    github.com/StewartLynch/Conta...
    References mentioned in video:
    GeometryReader
    • SwiftUI GeometryReader
    Enhancements to ScrollView in iOS 17
    • Enhancements to Scroll...
    Image Carousel Views
    • Image Carousel in SwiftUI
    Recommended Resources:
    RocketSim - Build Apps Faster
    gumroad.com/a/122988499/ftvbh
    BigMountain Studio Books
    SwiftData Mastery in SwiftUI
    www.bigmountainstudio.com/swi...
    SwiftUI Views Mastery
    www.bigmountainstudio.com/vie...
    SwiftUI 5 Book Bundle
    www.bigmountainstudio.com/boo...
    Combine Mastery in SwiftUI
    www.bigmountainstudio.com/com...
    Core Data Mastery in SwiftUI
    www.bigmountainstudio.com/cor...
    SwiftUI Animations Mastery
    www.bigmountainstudio.com/ani...
    Other References:
    Stewart Lynch's RUclips Channel:
    / @stewartlynch
    Stewart Lynch on Mastodon:
    iosdev.space/@StewartLynch
    Stewart Lynch On Threads:
    @StewartLynch
    Stewart Lynch on X:
    x.com/StewartLynch
    Stewart Lynch on LinkedIn
    / stewartlynch
  • НаукаНаука

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

  • @andrejkling3886
    @andrejkling3886 10 дней назад +1

    Thank you Stewart…🔥💯

  • @thomasfrank8379
    @thomasfrank8379 12 дней назад

    Thanks, Stewart!

  • @dibjr
    @dibjr 12 дней назад

    Thank you for the nteresting video, Stewart!

  • @swiftodyssey
    @swiftodyssey 12 дней назад +1

    Thanks Stewart!

  • @mhfs61
    @mhfs61 12 дней назад

    As alway a clear and helpful video Stewart. Thank you.

  • @josethadeu
    @josethadeu 7 дней назад

    Valeu!

  • @TheMrDrakiula
    @TheMrDrakiula 11 дней назад

    Thank you very much for the great content, Stewart!
    What laptop setup are you using for your Swift/SwiftUI projects?
    I am asking because I am looking for a proper Mac for working with these technologies.

    • @StewartLynch
      @StewartLynch  11 дней назад +1

      I mostly use my M2 Pro Mac Mini with 32 gb RAM but I also have an M2 MacBook Air with 24Gb RAM

  • @danielcrompton7818
    @danielcrompton7818 11 дней назад

    What a wonderful modifier! Such a shame my boss won’t let me use it along with too many others because he wants to support iOS 14