MwxCell

public protocol MwxCell : View

A piece of user interface.

You create custom cells by declaring types that conform to the MwxCell protocol. Implement the required body property to provide the content and behavior for your custom view. Implement the required vi property to provide the view item.

Associatedtypes

  • VI

    The type of view item for this view.

    When you create a custom view, Swift infers this type from your implementation of the required vi property.

    Declaration

    Swift

    associatedtype VI

View Item

  • Declares the view item of this view.

    Declaration

    Swift

    var item: VI { get set }