Inherits from SGItem : NSObject
Declared in SGPerformer.h

Overview

The SGPerformer model wraps individual item results from the /performers endpoint. SGPerformer extends from SGItem, which contains properties common to all item types.

Tasks

Performer properties

  •   name

    The performer’s name.

    property
  •   shortName

    Either the same as name or a shortened name if one is available.

    property
  •   slug

    A unique slug#Slug) for the performer.

    property
  •   type

    The performers’s most specific taxonomy.

    property
  •   taxonomies

    An array of taxonomies, from least specific to most specific.

    property
  •   imageURL

    A URL for an image of the performer.

    property
  •   images

    URLs for images of the performer at varying sizes.

    property
  •   links

    Links to the performer on other services across the web.

    property
  •   hasUpcomingEvents

    Will be YES if the performer has upcoming events.

    property
  •   homeVenueId

    The ID for the performer’s home venue, if one exists.

    property

Properties

hasUpcomingEvents

@property (nonatomic, readonly, assign) BOOL hasUpcomingEvents
Discussion

Will be YES if the performer has upcoming events.

Declared In

SGPerformer.h

homeVenueId

@property (nonatomic, readonly, strong) NSNumber *homeVenueId
Discussion

The ID for the performer’s home venue, if one exists.

Declared In

SGPerformer.h

imageURL

@property (nonatomic, readonly, copy) NSString *imageURL
Discussion

A URL for an image of the performer.

Declared In

SGPerformer.h

images

@property (nonatomic, readonly, strong) NSDictionary *images
Discussion

URLs for images of the performer at varying sizes.

Declared In

SGPerformer.h

links

@property (nonatomic, readonly, strong) NSArray *links
Discussion

Links to the performer on other services across the web.

Declared In

SGPerformer.h

name

@property (nonatomic, readonly, copy) NSString *name
Discussion

The performer’s name.

Declared In

SGPerformer.h

shortName

@property (nonatomic, readonly, copy) NSString *shortName
Discussion

Either the same as name or a shortened name if one is available.

name = "New York Mets"
shortName = "Mets"

Declared In

SGPerformer.h

slug

@property (nonatomic, readonly, copy) NSString *slug
Discussion

A unique slug#Slug) for the performer.

Declared In

SGPerformer.h

taxonomies

@property (nonatomic, readonly, strong) NSArray *taxonomies
Discussion

An array of taxonomies, from least specific to most specific.

Declared In

SGPerformer.h

type

@property (nonatomic, readonly, copy) NSString *type
Discussion

The performers’s most specific taxonomy.

Declared In

SGPerformer.h