Structs

The following structs are available globally.

  • A struct representing the current schedule for upcoming streams on Giant Bomb. It essentially wraps up currently live and upcoming posts as detailed at the top of GiantBomb.com and the homepage’s Coming up on Giant Bomb panel.

    See more

    Declaration

    Swift

    public struct ComingUpSchedule
  • A struct representing an upcoming post on Giant Bomb. These are basically the individual items on the Coming up on Giant Bomb panel on the Giant Bomb homepage.

    See more

    Declaration

    Swift

    public struct ComingUpScheduleItem
  • Struct containing extended information for GameResources. To retrieve, call fetchExtendedInfo(_:) upon the original resource then access the data on the resource’s extendedInfo property.

    See more

    Declaration

    Swift

    public struct GameExtendedInfo: ResourceExtendedInfo
  • A container to hold all the possible URLs for an image hosted on Giant Bomb.

    See more

    Declaration

    Swift

    public struct ImageURLs
  • A structure which is returned by base framework calls which contains paginated results and the meta data associated with the current page. Uses generics to strongly type the fetched resources to the expected Resource type.

    See more

    Declaration

    Swift

    public struct PaginatedResults<T: Resource>
  • Struct defining how a request’s results should be sorted. Note that this sorting is done on Giant Bomb’s server side and not by the framework. SortDefinition just acts as a convenient and strongly typed way to add in the appropriate url parameters when making requests.

    See more

    Declaration

    Swift

    public struct SortDefinition
  • A struct containing the results of a call to the Giant Bomb search API. Clients can do so by calling performSearch(_:resourceTypes:pagination:sort:completion:) on the SwiftBomb singleton.

    See more

    Declaration

    Swift

    public struct SearchResults
  • A struct which the client app is required to instantiate and pass into the API instance containing the user’s API key, optional level of logging and user agent.

    See more

    Declaration

    Swift

    public struct SwiftBombConfig
  • A container to hold all the possible URLs for a video hosted on Giant Bomb.

    See more

    Declaration

    Swift

    public struct VideoURLs