Inherits from SGItemSet : NSObject
Declared in SGPerformerSet.h

Overview

SGPerformerSet provides paginated results of SGPerformer items by quering the /performers endpoint. SGPerformerSet extends from SGItemSet, which provides the base result fetching and pagination interface.

SGPerformerSet *performers = SGPerformerSet.performersSet;
performers.query.search = @"imagine dragons";

performers.onPageLoaded = ^(NSOrderedSet *results) {
    for (SGPerformer *performer in results) {
        NSLog(@"performer: %@", performer.name);
    }
};

[performers fetchNextPage];

Tasks

Class Methods

performersSet

+ (instancetype)performersSet
Discussion

Returns a new SGPerformerSet instance for the /performers endpoint. Modify the query to add parameters and filters.

SGPerformerSet *performers = SGPerformerSet.performersSet;
performers.query.search = @"imagine dragons";

Declared In

SGPerformerSet.h