Contents

slideshowItem(at:)

Returns the item for a given index

Declaration

func slideshowItem(at index: Int) -> Any!

Parameters

  • index:

    An index of an item in the slideshow.

Return Value

The object that corresponds to the item at the specified index. The item can be any of the following objects: NSImage, NSString (to specify a path name), NSURL, FileWrapper, CGImage, or PDFPage.

Discussion

Your data source must implement this method.

See Also

Providing Slideshow Information