init(items:)
Creates an inset content object and populates it with the specified set of items.
Declaration
init(items: [TVTopShelfItem])Parameters
- items:
An array of Tvtopshelfitem objects representing the content that you want to display in the top shelf. This method stores a copy of the array.
Return Value
A new inset content object containing the specified set of items.