KKPagingInfo
@interface KKPagingInfo : KKBOXOpenAPIObject
The object that represents the pagination of a API response in list type.
-
The max amount of items in a page.
Declaration
Objective-C
@property (readonly, assign, nonatomic) NSInteger limit;
Swift
var limit: Int { get }
-
Where the list begins.
Declaration
Objective-C
@property (readonly, assign, nonatomic) NSInteger offset;
Swift
var offset: Int { get }
-
The URL for the API call for the previous page.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSURL *previous;
Swift
var previous: URL? { get }
-
The URL for the API call for the next page.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSURL *next;
Swift
var next: URL? { get }