XuniAutoComplete Class Reference

Inherits from XuniComboBox : XuniDropDown : UIView
Declared in XuniAutoComplete.h

  filteringArgs

Gets or sets the delegate for handling notifications.

@property (nonatomic) XuniAutoCompleteFilteringEventArgs *filteringArgs

Discussion

Gets or sets the delegate for handling notifications.

Declared In

XuniAutoComplete.h

  customViews

Gets or sets the customized cell for tableView.

@property (nonatomic) NSArray<UIView*> *customViews

Discussion

Gets or sets the customized cell for tableView.

Declared In

XuniAutoComplete.h

  highlightedColor

Gets or sets the matched text hightlighted background color.

@property (nonatomic) IBInspectable UIColor *highlightedColor

Discussion

Gets or sets the matched text hightlighted background color.

Declared In

XuniAutoComplete.h

  filterString

Gets or sets the filterString in the text field.

@property (nonatomic) IBInspectable NSString *filterString

Discussion

Gets or sets the filterString in the text field.

Declared In

XuniAutoComplete.h

  temporaryItemSource

Gets or sets the temporary source collection that contains the items to select from.

@property (nonatomic) NSMutableArray *temporaryItemSource

Discussion

Gets or sets the temporary source collection that contains the items to select from.

Declared In

XuniAutoComplete.h

  operatorType

Gets or sets the filter of the list.

@property (nonatomic) XuniAutoCompleteOperator operatorType

Discussion

Gets or sets the filter of the list.

Declared In

XuniAutoComplete.h

  delay

Gets or sets the delay, in milliseconds, between when input occurs and when the search is performed.

@property (nonatomic) IBInspectable double delay

Discussion

Gets or sets the delay, in milliseconds, between when input occurs and when the search is performed.

Declared In

XuniAutoComplete.h

  maxItems

Gets or sets the maximum number of items to display in the drop-down list.

@property (nonatomic) IBInspectable int maxItems

Discussion

Gets or sets the maximum number of items to display in the drop-down list.

Declared In

XuniAutoComplete.h

  minLength

Gets or sets the minimum input length to trigger autocomplete suggestions.

@property (nonatomic) IBInspectable int minLength

Discussion

Gets or sets the minimum input length to trigger autocomplete suggestions.

Declared In

XuniAutoComplete.h

  isCustomFiltering

Gets or sets whether is custom filterig.

@property (nonatomic) IBInspectable BOOL isCustomFiltering

Discussion

Gets or sets whether is custom filterig.

Declared In

XuniAutoComplete.h

– refreshTableViewItemSource

Refresh tableView itemSource.

- (void)refreshTableViewItemSource

Discussion

Refresh tableView itemSource.

Declared In

XuniAutoComplete.h

– normalizeCellText:WithSubstring:

Normalize cell text.

- (void)normalizeCellText:(UILabel *)textLabel WithSubstring:(NSString *)subString

Parameters

textLabel

The textLabel.

subString

The subString of the textLabel text.

Discussion

Normalize cell text.

Declared In

XuniAutoComplete.h

– highlightedSubstring:inFilterCellText:

Hilighted substring.

- (void)highlightedSubstring:(NSString *)substring inFilterCellText:(UILabel *)textLabel

Parameters

textLabel

The textLabel.

subString

The subString of the textLabel text.

Discussion

Hilighted substring.

Declared In

XuniAutoComplete.h