UISearchBar

extension UISearchBar
  • Obtain the current string value in the search bar, nil if the string is empty.

    Declaration

    Swift

    public var searchTerm: String? { get }