|
Version: 1.0 Posted: 2006-08-01 Build Requirements: Leopard Preview Runtime Requirements: Leopard Preview Download Sample (IKSlideshowDemo.zip, 43.4K) |
||||
DescriptionThis 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
|
|