Constructors
The following constructors are available globally.
-
Creates new
RAMReelinstance.- 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
frameRect that Reel will occupy
dataSourceObject of type that implements FlowDataSource protocol
placeholderOptional text field placeholder
hookOptional initial value change hook
- parameters:
Constructors Reference