Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions SearchTextField/Classes/SearchTextField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ open class SearchTextField: UITextField {
indicator.stopAnimating()
}

/// Set default loading indicator view style
open func setLoadingIndicatorViewStyle(_ viewStyle: UIActivityIndicatorViewStyle) {
indicator.activityIndicatorViewStyle = viewStyle
}

/// When InlineMode is true, the suggestions appear in the same line than the entered string. It's useful for email domains suggestion for example.
open var inlineMode: Bool = false {
didSet {
Expand Down