FUISearchTagView
@MainActor
open class FUISearchTagView : UIView
extension FUISearchTagView: UIKeyInput
extension FUISearchTagView: UITextInputTraits
A view representation of FUISearchTag.
-
The text to display.
Declaration
Swift
@MainActor open var displayText: String { get set } -
The text representation of delimiter.
Declaration
Swift
@MainActor open var displayDelimiter: String { get set } -
The font of the text.
Declaration
Swift
@MainActor open var font: UIFont? { get set } -
Corner radius of tag view.
Declaration
Swift
@MainActor open var cornerRadius: CGFloat { get set } -
Border width of tag view.
Declaration
Swift
@MainActor open var borderWidth: CGFloat { get set } -
Border color of tag view.
Declaration
Swift
@MainActor open var borderColor: UIColor? { get set } -
Background color to be used for selected state.
Declaration
Swift
@MainActor open var selectedColor: UIColor? { get set } -
Background color to be used for normal state.
Declaration
Swift
@MainActor open var normalBackgroundColor: UIColor? { get set } -
Text color of text in normal(non-selected) state.
Declaration
Swift
@MainActor open var textColor: UIColor? { get set } -
Text color of text in selected state.
Declaration
Swift
@MainActor open var selectedTextColor: UIColor? { get set } -
A boolean value indicating if bounce animation hanppens on selection. Default value is true.
Declaration
Swift
@MainActor open var bounceOnSelection: Bool -
A boolean value indicating if tag view is selected.
Declaration
Swift
@MainActor open var selected: Bool { get set } -
Create a tag view with a
FUISearchTag.Declaration
Swift
@MainActor public init(tag: FUISearchTag)Parameters
tagA
FUISearchTagwhich is used to create a tag view.
-
Return the optimal size of tag view based on the fitting size.
Declaration
Swift
@MainActor open func sizeToFit(_ size: CGSize) -> CGSizeParameters
sizeThe size you prefer the tag view to fit.
Return Value
The optimal size for tag view.
-
The autocorrection style for the tag view text.
Declaration
Swift
@MainActor public var autocorrectionType: UITextAutocorrectionType { get set }