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 |
The IKSlideshow
class encapsulates a data source and options for a slideshow.
For more about Objective-C properties, see “Properties” in The Objective-C 2.0 Programming Language.
Controls the interval of time before a slideshow starts to play automatically.
@property NSTimeInterval autoPlayDelay;
IKSlideshow.h
Finds 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.h
Exports 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.h
Returns a shared instance of a slideshow.
+ (IKSlideshow *)sharedSlideshow
A slideshow object.
IKSlideshow.h
Returns the index of the current slideshow item.
- (NSUInteger)indexOfCurrentSlideshowItem
The index of the current item in the slideshow.
IKSlideshow.h
Reloads the data for a slideshow.
- (void)reloadData
IKSlideshow.h
Reloads 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.h
Runs 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.h
Stops 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.h
Identifiers for exporting slideshow items to an application.
NSString *const IK_iPhotoBundleIdentifier;
IK_iPhotoBundleIdentifier
The iPhoto application—com.apple.iPhoto
.
Available in Mac OS X v10.5 and later.
Declared in IKSlideshow.h
.
IKSlideshow.h
The kind of items in the slideshow.
extern NSString *const IKSlideshowModeImages; extern NSString *const IKSlideshowModePDF; extern NSString *const IKSlideshowModeOther;
IKSlideshowModeImages
All items in the slideshow are images.
Available in Mac OS X v10.5 and later.
Declared in IKSlideshow.h
.
IKSlideshowModePDF
All items in the slideshow are PDF documents.
Available in Mac OS X v10.5 and later.
Declared in IKSlideshow.h
.
IKSlideshowModeOther
There 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
.
IKSlideshow.h
Keys for slideshow options.
NSString *const IKSlideshowWrapAround; NSString *const IKSlideshowStartPaused; NSString *const IKSlideshowStartIndex; NSString *const IKSlideshowPDFDisplayBox; NSString *const IKSlideshowPDFDisplayMode; NSString *const IKSlideshowPDFDisplaysAsBook;
IKSlideshowWrapAround
A 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
.
IKSlideshowStartPaused
A 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
.
IKSlideshowStartIndex
A 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
.
IKSlideshowPDFDisplayBox
A 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
.
IKSlideshowPDFDisplayMode
A 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
.
IKSlideshowPDFDisplaysAsBook
A 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
.
IKSlideshow.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)