Instance Method

slideshowItemAtIndex:

Returns the item for a given index

Required.

Declaration

- (id)slideshowItemAtIndex:(NSUInteger)index;

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, NSFileWrapper, CGImageRef, or PDFPage.

Discussion

Your data source must implement this method.

See Also

Providing Slideshow Information

- numberOfSlideshowItems

Returns the number of items in a slideshow.

Required.

- nameOfSlideshowItemAtIndex:

Returns the display name for item at the specified index.

- canExportSlideshowItemAtIndex:toApplication:

Reports whether the export button should be enabled for a slideshow item.