UsersQuery

@objc(GetSocialUsersQuery)
@objcMembers
public final class UsersQuery : NSObject

Describe a query to get users.

  • Create a query to find users.

    Declaration

    Swift

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

    Parameters

    searchTerm

    Search term.

    Return Value

    New UsersQuery instance.

  • Create a query to get suggested users

    Declaration

    Swift

    public static func suggested() -> UsersQuery

    Return Value

    New UsersQuery instance.

  • Create a query to find users who are followed by the specified user.

    Declaration

    Swift

    public static func followedBy(_ id: UserId) -> UsersQuery

    Parameters

    id

    UserId.

    Return Value

    New UsersQuery instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }