IKSlideshow Class Reference
| Inherits from | |
| Conforms to | |
| Framework | System/Library/Frameworks/Quartz.framework/ImageKit.framework |
| Availability | Available in OS X v10.5 and later. |
| Declared in | IKSlideshow.h |
Tasks
Creating a Shared Instance of a Slideshow
Running and Stopping a Slideshow
Getting Slideshow Data
Reloading Data
Exporting Slideshow Items
Properties
autoPlayDelay
Controls the interval of time before a slideshow starts to play automatically.
Availability
- Available in OS X v10.5 and later.
Declared In
IKSlideshow.hClass Methods
canExportToApplication:
Finds out whether the slideshow can export its contents to an application.
Parameters
- applicationBundleIdentifier
The bundle identifier of the application that you want to export the slideshow to. See
“Bundle Identifiers”.
Return Value
YES if the slideshow can be exported to the specified application; NO otherwise.
Availability
- Available in OS X v10.5 and later.
See Also
Declared In
IKSlideshow.hexportSlideshowItem:toApplication:
Exports a slideshow item to the application that has the provided bundle identifier.
Parameters
- item
The item to export
- applicationBundleIdentifier
The bundle identifier of the application that you want to export the item to.
Availability
- Available in OS X v10.5 and later.
See Also
Declared In
IKSlideshow.hsharedSlideshow
Returns a shared instance of a slideshow.
Return Value
A slideshow object.
Availability
- Available in OS X v10.5 and later.
Declared In
IKSlideshow.hInstance Methods
indexOfCurrentSlideshowItem
Returns the index of the current slideshow item.
Return Value
The index of the current item in the slideshow.
Availability
- Available in OS X v10.5 and later.
Declared In
IKSlideshow.hreloadData
Reloads the data for a slideshow.
Availability
- Available in OS X v10.5 and later.
See Also
Declared In
IKSlideshow.hreloadSlideshowItemAtIndex:
Reloads the data for a slideshow, starting at the specified index.
Parameters
- index
The index that species where to reload the slideshow data.
Availability
- Available in OS X v10.5 and later.
See Also
Declared In
IKSlideshow.hrunSlideshowWithDataSource:inMode:options:
Runs a slideshow that contains the specified kind of items, provided from a data source.
Parameters
- dataSource
The data source to use for the slideshow.
- slideshowMode
A constant that indicate what kind of items are in the slideshow—
IKSlideshowModeImages,IKSlideshowModePDF, orIKSlideshowModeQuickLook. See“Slideshow Modes”.- slideshowOptions
A dictionary of slideshow options. See
“Slideshow Option Keys”.
Availability
- Available in OS X v10.5 and later.
See Also
Declared In
IKSlideshow.hConstants
Bundle Identifiers
Identifiers for exporting slideshow items to an application.
NSString *const IK_iPhotoBundleIdentifier; NSString *const IK_ApertureBundleIdentifier; NSString *const IK_MailBundleIdentifier;
Constants
IK_iPhotoBundleIdentifierThe iPhoto application—
com.apple.iPhoto.Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IK_ApertureBundleIdentifierThe Aperature application—
com.apple.Aperture.Available in OS X v10.6 and later.
Declared in
IKSlideshow.h.IK_MailBundleIdentifierThe Mail application—
com.apple.mail.Available in OS X v10.6 and later.
Declared in
IKSlideshow.h.
Slideshow Modes
The kind of items in the slideshow.
NSString *const IKSlideshowModeImages; NSString *const IKSlideshowModePDF; NSString *const IKSlideshowModeOther;
Constants
IKSlideshowModeImagesAll items in the slideshow are images.
Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowModePDFAll items in the slideshow are PDF documents.
Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowModeOtherThere are a mixture of items in the slideshow (image, PDF, text, HTML, and so on).
Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.
Slideshow Option Keys
Keys for slideshow options.
NSString *const IKSlideshowWrapAround; NSString *const IKSlideshowStartPaused; NSString *const IKSlideshowStartIndex; NSString *const IKSlideshowPDFDisplayBox; NSString *const IKSlideshowPDFDisplayMode; NSString *const IKSlideshowPDFDisplaysAsBook; NSString *const IKSlideshowScreen; NSString *const IKSlideshowAudioFile;
Constants
IKSlideshowWrapAroundA key for starting the slideshow over after the last slide shows. The associated value is a
Booleandata type.Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowStartPausedA key for starting in a paused state. The associated value is a
Booleandata type.Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowStartIndexA key for the slideshow item index. The associated value is an index.
Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowPDFDisplayBoxA key for the PDF display box. The associated value is a type of display box, such as
kPDFDisplayBoxMediaBoxorkPDFDisplayBoxMediaBox. See PDFPage Class Reference for more information.Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowPDFDisplayModeA key for the PDF display mode. The associated value is a PDF display mode constant, such as
kPDFDisplaySinglePageorkPDFDisplayTwoUp. See PDFView Class Reference for more information.Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowPDFDisplaysAsBookA key for displaying the slideshow as a book. The associated value is a
Booleandata type.Available in OS X v10.5 and later.
Declared in
IKSlideshow.h.IKSlideshowScreenA key specifying the screen on which the slideshow is displayed. The associated value is an
NSScreenobject. By defaultmainScreenis used.Available in OS X v10.6 and later.
Declared in
IKSlideshow.h.IKSlideshowAudioFileA key specifying the audio file played during the slideshow. The associated value is an
NSURLobject.Available in OS X v10.6 and later.
Declared in
IKSlideshow.h.
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-06-02)