The IKSlideshow class encapsulates a data source and options for a slideshow.


class IKSlideshow : NSObject


Creating a Shared Instance of a Slideshow

class func shared() -> IKSlideshow!

Returns a shared instance of a slideshow.

Running and Stopping a Slideshow

func run(with: IKSlideshowDataSource!, inMode: String!, options: [AnyHashable : Any]!)

Runs a slideshow that contains the specified kind of items, provided from a data source.

func stop(Any!)

Stops a slideshow.

var autoPlayDelay: TimeInterval

Controls the interval of time before a slideshow starts to play automatically.

Getting Slideshow Data

func indexOfCurrentSlideshowItem() -> Int

Returns the index of the current slideshow item.

Reloading Data

func reloadData()

Reloads the data for a slideshow.

func reloadItem(at: Int)

Reloads the data for a slideshow, starting at the specified index.

Exporting Slideshow Items

class func canExport(toApplication: String!) -> Bool

Finds out whether the slideshow can export its contents to an application.

class func exportItem(Any!, toApplication: String!)

Exports a slideshow item to the application that has the provided bundle identifier.


Bundle Identifiers

Identifiers for exporting slideshow items to an application.

Slideshow Modes

The kind of items in the slideshow.

Slideshow Option Keys

Keys for slideshow options.


Inherits From

Conforms To