TKToursQuerySorting

enum TKToursQuerySorting : NSUInteger {}

Query enum declaring the sorting option for the results returned.

  • Get results sorted by rating. Descending by default.

    Declaration

    Objective-C

    TKToursQuerySortingRating = 0

    Swift

    case rating = 0
  • Get results sorted by price. Ascending by default.

    Declaration

    Objective-C

    TKToursQuerySortingPrice = 1

    Swift

    case price = 1
  • Get results sorted by Top selling items. Descending by default.

    Declaration

    Objective-C

    TKToursQuerySortingTopSellers = 2

    Swift

    case topSellers = 2