FUISearchTag

public struct FUISearchTag : Hashable

A struct holds the infomation for a tag which presents in a FUISearchTagsField.

  • The text of the tag.

    Declaration

    Swift

    public let text: String
  • Creates a new tag.

    Declaration

    Swift

    public init(_ text: String)
  • Compare two tags. Two tags are equal if they have the same text.

    Declaration

    Swift

    public func equals(_ other: FUISearchTag) -> Bool

    Parameters

    other

    The other tag to compare with.

    Return Value

    True if two tags are equal. Otherwise false.