Contents

init(style:items:)

Creates a content object for displaying items in a carousel style in the top shelf interface.

Declaration

init(style: TVTopShelfCarouselContent.Style, items: [TVTopShelfCarouselItem])

Parameters

  • style:

    The appearance to use for individual items. For a list of possible values, see Style Swift.enum.

  • items:

    The items to display in the Top Shelf interface. All of the items in the array must have unique identifiers.

Return Value

A new carousel content object containing the specified items.