TWSListPaginator Class Reference
Inherits from | NSObject |
---|---|
Declared in | TWSListPaginator.h |
hasNextPage
Determine if there is a next page of results.
@property (readonly) BOOL hasNextPage
Discussion
Determine if there is a next page of results.
Declared In
TWSListPaginator.h
hasPreviousPage
Determine if there is a previous page of results.
@property (readonly) BOOL hasPreviousPage
Discussion
Determine if there is a previous page of results.
Declared In
TWSListPaginator.h
– getItems
Obtain the list of items contained in this page of results. The order of items within the page is not guaranteed.
- (nonnull NSArray<TWSListItem*> *)getItems
Return Value
An array of TWSListItem objects.
Discussion
Obtain the list of items contained in this page of results. The order of items within the page is not guaranteed.
Declared In
TWSListPaginator.h
– requestNextPageWithCompletion:
Request the next page of results for this query, if one exists. The order of items within the page is not guaranteed.
- (void)requestNextPageWithCompletion:(nonnull TWSListPaginatorCompletion)completion
Parameters
completion |
Completion block that will specify the result of the operation and a paginator for the new page of results. |
---|
Discussion
Request the next page of results for this query, if one exists. The order of items within the page is not guaranteed.
Declared In
TWSListPaginator.h
– requestPreviousPageWithCompletion:
Request the previous page of results for this query, if one exists. The order of items within the page is not guaranteed.
- (void)requestPreviousPageWithCompletion:(nonnull TWSListPaginatorCompletion)completion
Parameters
completion |
Completion block that will specify the result of the operation and a paginator for the new page of results. |
---|
Discussion
Request the previous page of results for this query, if one exists. The order of items within the page is not guaranteed.
Declared In
TWSListPaginator.h