Back to Browse

Stop using GeometryReader in SwiftUI

8.3K views
Apr 26, 2024
4:27

GeometryReader is commonly used to control the size of a View w.r.t its parent View/container. Let's explore a simple ViewModifier in iOS 17 that makes this so much easier and nicer to read. πŸš€ LaunchBuddy: https://apple.co/3iFcjjW πŸ“š Try CWC+: https://bit.ly/cwc_flo β˜•οΈ Buy me a coffee: https://ko-fi.com/flowritescode Join this channel to get access to perks: https://www.youtube.com/channel/UCYt_AtiKPyda44NYzwABvQQ/join πŸ‘‹ Links: https://flowritesco.de πŸ›  Forge: https://apple.co/3riG8MQ Chapters: 0:00 GeometryReader Example 2:10 containerRelativeFrame Affiliate Links ❀ πŸ“• SwiftUI & Combine Books: https://www.bigmountainstudio.com/a/tpgmp πŸ”¬ Get Reports about your apps: https://appfigures.com/r/5by3g πŸ“Š Privacy focused analytics: https://dashboard.telemetrydeck.com/registration/organization?referralCode=27AOWO4R1TTEJBST πŸ’» The most powerful mac app for developers: https://devutils.app/?ref=flo β˜•οΈ Support me: https://ko-fi.com/flowritescode If you have any video suggestions please feel free to let me know by a comment. Get in contact via Twitter: https://twitter.com/FloWritesCode

Download

1 formats

Video Formats

360pmp47.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Stop using GeometryReader in SwiftUI | NatokHD