Laying out views with ContainerRelativeFrame in SwiftUI

Sdílet
Vložit
  • čas přidán 27. 07. 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 CZcams 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 CZcams 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
  • Věda a technologie

Komentáře • 10

  • @andrejkling3886
    @andrejkling3886 Před 18 dny +1

    Thank you Stewart…🔥💯

  • @danielcrompton7818
    @danielcrompton7818 Před 19 dny

    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

  • @mhfs61
    @mhfs61 Před 20 dny

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

  • @swiftodyssey
    @swiftodyssey Před 20 dny +1

    Thanks Stewart!

  • @dibjr
    @dibjr Před 20 dny

    Thank you for the nteresting video, Stewart!

  • @thomasfrank8379
    @thomasfrank8379 Před 20 dny

    Thanks, Stewart!

  • @TheMrDrakiula
    @TheMrDrakiula Před 19 dny

    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  Před 19 dny +1

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

  • @josethadeu
    @josethadeu Před 15 dny

    Valeu!