UISearchBar

public extension UISearchBar
  • SwifterSwift: Text field inside search bar (if applicable).

    Declaration

    Swift

    var textField: UITextField? { get }
  • SwifterSwift: Text with no spaces or new lines in beginning and end (if applicable).

    Declaration

    Swift

    var trimmedText: String? { get }

Methods

  • SwifterSwift: Clear text.

    Declaration

    Swift

    func clear()