Protocol

IKSlideshowDataSource

The IKSlideshowDataSource protocol describes the methods that an IKSlideshow object uses to access the contents of its data source object.

Declaration

@protocol IKSlideshowDataSource

Overview

Topics

Providing Slideshow Information

- numberOfSlideshowItems

Returns the number of items in a slideshow.

Required.

- slideshowItemAtIndex:

Returns the item for a given index

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.

Performing Custom Tasks

- slideshowWillStart

Performs custom tasks when the slideshow is about to start.

- slideshowDidStop

Performs custom tasks when the slideshow stops.

- slideshowDidChangeCurrentIndex:

Performs custom tasks when the slideshow changes to the item at the specified index.