Arne Vanstraeseele
03/04/2025, 12:41 PMRichard
03/04/2025, 12:45 PMArne Vanstraeseele
03/04/2025, 1:02 PMcurioustechizen
03/05/2025, 8:27 AMRichard
03/05/2025, 8:38 AMonGloballyPositioned
modifier to get the size, then report it back via lambda and set it within SwiftUI.
I don't like this approach, that's why I try to avoid these cases.John O'Reilly
03/05/2025, 8:40 AM>@John O'Reilly Didn't you have a blog post and code sample on how to do this?Not sure it's exactly what's being asked here (or still necessarily best approach) but did write about that here https://johnoreilly.dev/posts/swiftui-component-compose-ios/
Arne Vanstraeseele
03/05/2025, 8:45 AM