Constructors

The following constructors are available globally.

  • Creates new RAMReel instance.

    • parameters:
      • frame: Rect that Reel will occupy
      • dataSource: Object of type that implements FlowDataSource protocol
      • placeholder: Optional text field placeholder
      • hook: Optional initial value change hook

    Declaration

    Swift

    public init(frame: CGRect, dataSource: DataSource, placeholder: String = "", hook: HookType? = nil)

    Parameters

    frame

    Rect that Reel will occupy

    dataSource

    Object of type that implements FlowDataSource protocol

    placeholder

    Optional text field placeholder

    hook

    Optional initial value change hook