FUISearchToSelectView

open class FUISearchToSelectView : UIView

A UIView contains a tag field and table view.

Components

  • tagsField: A WSTagsField shows some tags and an input text field.
  • tableView: A UITableView shows a list of items.

Usage

Initialization

You can position tags field either setting the frame or constraints.

let searchToSelectView = FUISearchToSelectView()

Configuration

You can configure tags field by access tagsField property.

self.tagsField.backgroundColor = UIColor.blue

Theming

Supported class paths:

fdlFUISearchToSelectView {}
fdlFUISearchToSelectView_tableView {}
fdlFUISearchToSelectView_tagsField {}

Supported TagsField attributes:

tint-color (Color)
background-color (Color)
content-insets (Box)
font-color { -placeholder } (Color)
font-name (FontName)
font-style (UIFontTextStyle)
font-size (Number)
text-line-clamp (Integer)
line-spacing (Float)
tag-spacing (Float)
tag-delimiter (String)

Supported Tag attributes:

tag-font-color { -selected } (Color)
tag-background-color { -selected } (Color)
tag-content-insets (Box)

Supported ImageView attributes:

search-icon-image (Image)
search-icon-image-tint-color (Color)
  • Tags field instance

    Declaration

    Swift

    public private(set) var tagsField: FUISearchTagsField { get }
  • Table view instance

    Declaration

    Swift

    public private(set) var tableView: UITableView { get }