TagsQuery

@objcMembers
@objc(GetSocialTagsQuery)
public final class TagsQuery : NSObject

Describe query to get tags.

  • Declaration

    Swift

    public var inTarget: PostActivityTarget?
  • Create a query to get tags.

    Declaration

    Swift

    @objc(all)
    public static func all() -> TagsQuery

    Return Value

    New TagsQuery instance.

  • Create query to find tags.

    Declaration

    Swift

    @objc(find:)
    public static func find(_ searchTerm: String) -> TagsQuery

    Parameters

    searchTerm

    Search term.

    Return Value

    New TagsQuery instance.

  • Filters tags followed by a specific user.

    Declaration

    Swift

    @objc(followedByUserWithId:)
    public func followedBy(_ id: UserId) -> TagsQuery

    Parameters

    id

    User id.

  • Filters trending tags and orders them by popularity.

    Declaration

    Swift

    @objc(onlyTrending:)
    public func onlyTrending(_ trending: Bool = true) -> TagsQuery

    Parameters

    trending

    Bool

    Return Value

    New TagsQuery instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }