IKSlideshowDemo

Last Revision:
Version 1.1, 2012-08-31
Update to use ARC and latest Developer Tools. Fixed deprecation warnings.
(Full Revision History)
Build Requirements:
Xcode 4.4
Runtime Requirements:
Mac OS X 10.6

This small sample project shows how to use the ImageKit Slideshow to display images or PDFs.

The simple AppController implements the IKSlideshowDataSource protocol and implements the required methods:

- (NSUInteger)numberOfSlideshowItems; - (id)slideshowItemAtIndex: (NSUInteger)index;

The UI allows the user to pick one of the following two options:

1) Path to single PDF file

In this mode, a single PDF file will be displayed in Slideshow. The item is passed as a path to a PDF document.

2) Images

Images from the App bundle are passed to the Slideshow.

The 'Start' button invokes then -[runSlideshowWithDataSource:options] method of IKSlideshow.