ASAPPInputColors
@objc(ASAPPInputColors)
@objcMembers
public class ASAPPInputColors : NSObject
Used to configure the colors of text input area in the chat view.
-
The color of the background of the input area.
Declaration
Swift
public var background: UIColor -
The color of the text.
Declaration
Swift
public var text: UIColor -
The color of the placeholder text, visible before anything has been typed.
Declaration
Swift
public var placeholderText: UIColor -
The tint color of the text area (used by the cursor).
Declaration
Swift
public var tint: UIColor -
The color of the border of the text area.
Declaration
Swift
public var border: UIColor? -
The fill (or text) color of the send button.
Declaration
Swift
public var primaryButton: UIColor -
The color of the media attachment button.
Declaration
Swift
public var secondaryButton: UIColor
-
Creates an instance of
ASAPPInputColorswith the given parameters.Declaration
Swift
public init(background: UIColor, text: UIColor, placeholderText: UIColor, tint: UIColor, border: UIColor?, primaryButton: UIColor, secondaryButton: UIColor)Parameters
backgroundThe background color.
placeholderTextThe placeholder text color.
tintThe tint color.
borderThe border color.
primaryButtonThe primary button color.
secondaryButtonThe secondary button color.
ASAPPInputColors Class Reference