CPCViewLayoutAttributes

public protocol CPCViewLayoutAttributes

A type that can be used to calculate size of a view conforming to CPCViewMeasuring

  • Scale factor to use for resulting frames/sizes rounding. Typically should be equal to 1.0 / UIScreen.main.nativeScale.

    Declaration

    Swift

    var roundingScale: CGFloat { get }