PWPagination Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | PWPagination.h |
Overview
PWPagination objects encapsulate all pagination details associated with fetching an array of content objects.
Other Methods
fromResultIndex
The starting index for the returned results.
@property (nonatomic, readonly) NSUInteger fromResultIndexDeclared In
PWPagination.h
toResultIndex
The ending index for the returned results.
@property (nonatomic, readonly) NSUInteger toResultIndexDeclared In
PWPagination.h
totalResults
The total number of available results.
@property (nonatomic, readonly) NSUInteger totalResultsDeclared In
PWPagination.h
currentPage
The current results page.
@property (nonatomic, readonly) NSUInteger currentPageDeclared In
PWPagination.h
numberOfPages
The total number of results pages available.
@property (nonatomic, readonly) NSUInteger numberOfPagesDeclared In
PWPagination.h
Convenience
+ unpack:
Convenience method to instantiate a PWPagination object from a properly formatted NSDictionary object.
+ (instancetype)unpack:(NSDictionary *)dictionaryParameters
dictionary |
The dictionary from which to instantiate the |
|---|
Declared In
PWPagination.h