BaseLayout

open class BaseLayout<V: View>

A base class for layouts. This layout does not require a view at runtime unless a configuration block has been provided.

  • The layout’s alignment inside of the rect that it is assigned during arrangement.

    Declaration

    Swift

    open let alignment: Alignment
  • The flexibility of the layout along both dimensions.

    Declaration

    Swift

    open let flexibility: Flexibility
  • An identifier for the layout. It is used to identify which views should be reused when animating from one layout to another.

    Declaration

    Swift

    open let viewReuseId: String?
  • A configuration block that is run on the main thread after the view is created.

    Declaration

    Swift

    open let config: ((V) -> Void)?
  • Undocumented

    Declaration

    Swift

    open class BaseLayout<V: View>
  • Undocumented

    Declaration

    Swift

    open class BaseLayout<V: View>
  • Undocumented

    Declaration

    Swift

    open class BaseLayout<V: View>
  • Undocumented

    Declaration

    Swift

    open class BaseLayout<V: View>
  • Undocumented

    Declaration

    Swift

    open class BaseLayout<V: View>