Stop using GeometryReader in SwiftUI

preview_player
Показать описание
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.

Join this channel to get access to perks:

Chapters:
0:00 GeometryReader Example
2:10 containerRelativeFrame

Affiliate Links ❤

If you have any video suggestions please feel free to let me know by a comment.
Get in contact via
Рекомендации по теме
Комментарии
Автор

Thanks. However what is solution for versions below iOS 17 ? GeometryReader ?

xvalniko
Автор

Ein tutorial zum thema animationen wäre richtig cool 🎉

ags
Автор

GeometryReader is good for all iOS devices if you wanna keep the same size based screen size

natgenesis
join shbcf.ru