| Inherits from | |
| Conforms to | |
| Framework | System/Library/Frameworks/Quartz.framework/ImageKit.framework |
| Availability | Available in Mac OS X v10.5 and later. |
| Declared in | IKSlideshow.h |
| Related sample code |
For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.
Controls the interval of time before a slideshow starts to play automatically.
@property NSTimeInterval autoPlayDelay
IKSlideshow.hFinds out whether the slideshow can export its contents to an application.
+ (BOOL)canExportToApplication:(NSString *)applicationBundleIdentifier
The bundle identifier of the application that you want to export the slideshow to. See “Bundle Identifiers”.
YES if the slideshow can be exported to the specified application; NO otherwise.
IKSlideshow.hExports a slideshow item to the application that has the provided bundle identifier.
+ (void)exportSlideshowItem:(id)item toApplication:(NSString *)applicationBundleIdentifier
The item to export
The bundle identifier of the application that you want to export the item to.
IKSlideshow.hReturns a shared instance of a slideshow.
+ (IKSlideshow *)sharedSlideshow
A slideshow object.
IKSlideshow.hReturns the index of the current slideshow item.
- (NSUInteger)indexOfCurrentSlideshowItem
The index of the current item in the slideshow.
IKSlideshow.hReloads the data for a slideshow.
- (void)reloadData
IKSlideshow.hReloads the data for a slideshow, starting at the specified index.
- (void)reloadSlideshowItemAtIndex:(NSUInteger)index
The index that species where to reload the slideshow data.
IKSlideshow.hRuns a slideshow that contains the specified kind of items, provided from a data source.
- (void)runSlideshowWithDataSource:(id < IKSlideshowDataSource >)dataSource inMode:(NSString *)slideshowMode options:(NSDictionary *)slideshowOptions
The data source to use for the slideshow.
A constant that indicate what kind of items are in the slideshow—IKSlideshowModeImages, IKSlideshowModePDF, or IKSlideshowModeQuickLook. See “Slideshow Modes”.
A dictionary of slideshow options. See “Slideshow Option Keys”.
IKSlideshow.hStops a slideshow.
- (void)stopSlideshow:(id)sender
The object sending the message to stop the slideshow.
This method is invoked when the user clicks a button or issues a stop command.
IKSlideshow.hIdentifiers for exporting slideshow items to an application.
NSString *const IK_iPhotoBundleIdentifier; NSString *const IK_ApertureBundleIdentifier; NSString *const IK_MailBundleIdentifier;
IK_iPhotoBundleIdentifierThe iPhoto application—com.apple.iPhoto.
Available in Mac OS X v10.5 and later.
Declared in IKSlideshow.h.
IK_ApertureBundleIdentifierThe Aperature application—com.apple.Aperture.
Available in Mac OS X v10.6 and later.
Declared in IKSlideshow.h.
IK_MailBundleIdentifierThe Mail application—com.apple.mail.
Available in Mac OS X v10.6 and later.
Declared in IKSlideshow.h.
The kind of items in the slideshow.
NSString *const IKSlideshowModeImages; NSString *const IKSlideshowModePDF; NSString *const IKSlideshowModeOther;
IKSlideshowModeImagesAll items in the slideshow are images.
Available in Mac OS X v10.5 and later.
Declared in IKSlideshow.h.
IKSlideshowModePDFAll items in the slideshow are PDF documents.
Available in Mac 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 Mac OS X v10.5 and later.
Declared in IKSlideshow.h.
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;
IKSlideshowWrapAroundA key for starting the slideshow over after the last slide shows. The associated value is a Boolean data type.
Available in Mac OS X v10.5 and later.
Declared in IKSlideshow.h.
IKSlideshowStartPausedA key for starting in a paused state. The associated value is a Boolean data type.
Available in Mac 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 Mac 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 kPDFDisplayBoxMediaBox or kPDFDisplayBoxMediaBox. See PDFPage Class Reference for more information.
Available in Mac 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 kPDFDisplaySinglePage or kPDFDisplayTwoUp. See PDFView Class Reference for more information.
Available in Mac OS X v10.5 and later.
Declared in IKSlideshow.h.
IKSlideshowPDFDisplaysAsBookA key for displaying the slideshow as a book. The associated value is a Boolean data type.
Available in Mac 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 NSScreen object. By default mainScreen is used.
Available in Mac 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 NSURL object.
Available in Mac OS X v10.6 and later.
Declared in IKSlideshow.h.
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-06-02)