AutocompleteSegmentPlainText

public struct AutocompleteSegmentPlainText

Describes a plain text autocomplete segment. A plain text segment is the unmatched part which can be used as query string in search.

Lifecycle

  • Creates a plain text autocomplete segment.

    Declaration

    Swift

    public init(plainText: String)

    Parameters

    plainText

    the plain text in the segment.

Public

  • The plain text in the segment.

    Declaration

    Swift

    public let plainText: String