Inherits from OlapicMediaList : NSObject
Declared in OlapicCategoryMediaList.h

Overview

List all the media objects from a specific category

Properties

listCategory

The category from where the list will get the media

@property (nonatomic, strong) OlapicCategoryEntity *listCategory

Declared In

OlapicCategoryMediaList.h

listCategoryId

The ID of the category that the list will use to get the media

@property (nonatomic, strong) NSString *listCategoryId

Declared In

OlapicCategoryMediaList.h

Instance Methods

initForCategory:delegate:

Initialize using a category entity as reference

- (id)initForCategory:(OlapicCategoryEntity *)category delegate:(id<OlapicMediaListDelegate> __weak)delegateObject

Parameters

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.h

initForCategory:delegate:sort:

Initialize using a category entity as reference set the sorting type

- (id)initForCategory:(OlapicCategoryEntity *)category delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort

Parameters

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.h

initForCategory: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)perPage

Parameters

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.h

initForCategory: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)offset

Parameters

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.h

initWithCategoryId:delegate:andURL:

Initialize using a category ID and its URL

- (id)initWithCategoryId:(NSString *)categoryId delegate:(id<OlapicMediaListDelegate> __weak)delegateObject andURL:(NSString *)URL

Parameters

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.h

initWithCategoryId: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)perPage

Parameters

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.h

initWithCategoryId: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)offset

Parameters

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