Version: 1.0

Posted: 2006-08-01

Build Requirements: Leopard Preview

Runtime Requirements: Leopard Preview

View Source Code:

Download Sample (“IKSlideshowDemo.zip”, 43.4K)
Download Sample (“IKSlideshowDemo.dmg”, 100.1K)



Description

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 three 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) Individual PDF page.

Using PDFKit, a PDFPage is created for each page of the sample PDF document.

That PDFPage is then passed to the Slideshow.

3) Images

The user can specify how many images should be passed to the Slideshow.

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

Document Revision History

Date Notes
2006-08-01This small sample project shows how to use the ImageKit Slideshow to display images or PDFs.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.