How to retrieve the frame of a subview in parent view: Leveraging GeometryReader and PreferenceKey
When developing using SwiftUI, there are situations where we need to get the frame of a subview in its ancestor view. For instance, I am currently wor
...