Style

@objc(SBDMessageFormItemStyle)
open class Style : NSObject, NSCopying, Codable

Data that describes the UI appearance of the item Since: 4.21.0

  • Layout type enum value

    Declaration

    Swift

    public var layout: LayoutType { get }
  • Pre-supplied values for UI configurations such as checkboxes

    Declaration

    Swift

    public let options: [String]?
  • Value to specify the default selection among options

    Declaration

    Swift

    public let defaultOptions: [String]?
  • Data to limit the number of values entered

    Declaration

    Swift

    public let resultCount: ResultCount?
  • Copies this object

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any

    Parameters

    zone

    optional NSZone

    Return Value

    Form instance

  • Default constructor.

    Declaration

    Swift

    public required init(from decoder: Decoder) throws

    Parameters

    decoder

    Decoder instance

  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance