Anchor preferences in SwiftUI | Majid’s blog about Swift development

Today we will continue mastering view preferences in SwiftUI that we touched a few weeks ago. Anchor preferences are another type of view preferences provided by SwiftUI. The main goal of anchor preferences is to pass layout data like bounds, center coordinates, etc. to its parent view.
— Read on swiftwithmajid.com/2020/03/18/anchor-preferences-in-swiftui/

Leave a Reply

Name *
Email *
Website