FittedLayout

@available(iOS 9.0, *)
public struct FittedLayout<View> : Layout where View : UIView

A concrete implementation of Layout that helps to completely fit a view into another view.

Properties

  • The view to layout.

    Declaration

    Swift

    public let view: View

Initializers

  • Creates a new FittedLayout object.

    Declaration

    Swift

    public init(view: View)

    Parameters

    view

    The view to layout.