Skip to content

Search To Select View

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:

1
2
3
fdlFUISearchToSelectView {}
fdlFUISearchToSelectView_tableView {}
fdlFUISearchToSelectView_tagsField {}

Supported TagsField attributes:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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:

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

Supported ImageView attributes:

1
2
search-icon-image (Image)
search-icon-image-tint-color (Color)

Last update: December 8, 2020