preferredMaxLayoutWidth
A width the system uses to constrain the view contents.
Declaration
var preferredMaxLayoutWidth: CGFloat { get set }Discussion
When embedding this view in a SwiftUI UIViewRepresentable or NSViewRepresentable view, the system constrains its contents to the preferredMaxLayoutWidth width.
If you’re not using SwiftUI this property shouldn’t be necessary, as SWAttributionView otherwise derives the maximum width from the frame or constraints you set.