FUIButtonFormCell
open class FUIButtonFormCell: NibDesignableTableViewCell
Simple UITableViewCell
subclass, containing a UIButton
instance which can be
aligned to 3 FUIHorizontalAlignment
positions: .left
, .center
, .right
.
Usage:
Implement the action handler for the UIButton
instance, to respond to UIControl
events.
-
The value type is
UIControlEvents
.Declaration
Swift
public typealias ValueType = UIControlEvents
-
Implementation of change handler. Is invoked when button is tapped.
Declaration
Swift
public var onChangeHandler: ((UIControlEvents) -> Void)?
-
Reuse identifier
Declaration
Swift
open static var reuseIdentifier: String
-
The alignment for this button.
Declaration
Swift
open var alignment: FUIHorizontalAlignment = .center