FUIRatingControlContentView

This is the content view of the FUIRatingControlFormCell.

This view includes a FUITextKitView for title, a FUIRatingControl for the rating control, and another FUITextKitView for subtitle. When subtitle is not nil, the title will not be displayed.

  • The key name of the property.

    Declaration

    Swift

    open var keyName: String? { get set }
  • The type of value is Int for the FUIRatingControlFormCell.

    Declaration

    Swift

    public typealias ValueType = Int
  • Indicates if the value of the cell could be changed or not.

    The default is true.

    Declaration

    Swift

    open var isEditable: Bool { get set }
  • Implementation of change handler.

    This is invoked when user changed the rating.

    Declaration

    Swift

    open var onChangeHandler: ((Int) -> Void)?
  • The value of the property represents the rating.

    The value should be in the ratingBounds of the ratingControl property.

    Declaration

    Swift

    public var value: Int { get set }
  • The FUIRatingControl in this view.

    Declaration

    Swift

    public var ratingControl: FUIRatingControl { get }