OlapicCategoryMediaList Class Reference
| Inherits from | OlapicMediaList : NSObject |
| Declared in | OlapicCategoryMediaList.h |
Tasks
Other Methods
-
listCategoryproperty -
listCategoryIdproperty
Initializer with Object
-
– initForCategory:delegate: -
– initForCategory:delegate:sort: -
– initForCategory:delegate:sort:mediaPerPage: -
– initForCategory:delegate:sort:mediaPerPage:offset:
Initializer with ID and URL
Properties
Instance Methods
initForCategory:delegate:
Initialize using a category entity as reference
- (id)initForCategory:(OlapicCategoryEntity *)category delegate:(id<OlapicMediaListDelegate> __weak)delegateObjectParameters
- category
The category entity to use as reference
- delegateObject
The reference to the delegate object
Return Value
The OlapicCategoryMediaList instance
Availability
v1.0
Declared In
OlapicCategoryMediaList.hinitForCategory:delegate:sort:
Initialize using a category entity as reference set the sorting type
- (id)initForCategory:(OlapicCategoryEntity *)category delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sortParameters
- category
The category entity to use as reference
- delegateObject
The reference to the delegate object
- sort
The sorting type
Return Value
The OlapicCategoryMediaList instance
Availability
v1.0
Declared In
OlapicCategoryMediaList.hinitForCategory:delegate:sort:mediaPerPage:
Initialize using a category entity as reference, with the sorting type and the number of media per page that are to be retrieved
- (id)initForCategory:(OlapicCategoryEntity *)category delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort mediaPerPage:(NSInteger)perPageParameters
- category
The category entity to use as reference
- delegateObject
The reference to the delegate object
- sort
The sorting type
- perPage
The number of media per page
Return Value
The OlapicCategoryMediaList instance
Availability
v1.0
Declared In
OlapicCategoryMediaList.hinitForCategory:delegate:sort:mediaPerPage:offset:
Initialize using a category entity as reference, with sorting type, amount of media per page and an offset
- (id)initForCategory:(OlapicCategoryEntity *)category delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort mediaPerPage:(NSInteger)perPage offset:(NSInteger)offsetParameters
- category
The category entity to use as reference
- delegateObject
The reference to the delegate object
- sort
The sorting type
- perPage
The number of media per page
- offset
The offset to change the page
Return Value
The OlapicCategoryMediaList instance
Availability
v1.0
Declared In
OlapicCategoryMediaList.hinitWithCategoryId:delegate:andURL:
Initialize using a category ID and its URL
- (id)initWithCategoryId:(NSString *)categoryId delegate:(id<OlapicMediaListDelegate> __weak)delegateObject andURL:(NSString *)URLParameters
- categoryId
The category ID
- delegateObject
The reference to the delegate object
- URL
The API URL for this category
Return Value
The OlapicCategoryMediaList instance
Availability
v1.0
Declared In
OlapicCategoryMediaList.hinitWithCategoryId:delegate:andURL:mediaPerPage:
Initialize using a category ID and its URL, but also changing the amount of media per page that are going to be downloaded
- (id)initWithCategoryId:(NSString *)categoryId delegate:(id<OlapicMediaListDelegate> __weak)delegateObject andURL:(NSString *)URL mediaPerPage:(NSInteger)perPageParameters
- categoryId
The category ID
- delegateObject
The reference to the delegate object
- URL
The API URL for this category
- perPage
The number of media per page
Return Value
The OlapicCategoryMediaList instance
Availability
v1.0
Declared In
OlapicCategoryMediaList.hinitWithCategoryId:delegate:andURL:mediaPerPage:offset:
Initialize using a category ID and its URL, but also changing the amount of media per page and the offset
- (id)initWithCategoryId:(NSString *)categoryId delegate:(id<OlapicMediaListDelegate> __weak)delegateObject andURL:(NSString *)URL mediaPerPage:(NSInteger)perPage offset:(NSInteger)offsetParameters
- categoryId
The category ID
- delegateObject
The reference to the delegate object
- URL
The API URL for this category
- perPage
The number of media per page
- offset
The offset to change the page
Return Value
The OlapicCategoryMediaList instance
Availability
v1.0
Declared In
OlapicCategoryMediaList.h