Inherits from | |
Conforms to | |
Framework | System/Library/Frameworks/Quartz.framework/ImageKit.framework |
Availability | Available in Mac OS X v10.5 and later. |
Declared in | IKSaveOptions.h |
The IKSaveOptions
class initializes, adds, and manages user interface options for saving image data.
imageProperties
property
imageUTType
property
userSelection
property
delegate
property
– saveOptions:shouldShowUTType:
delegate method
For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.
Specifies the delegate object.
@property(assign) id delegate
IKSaveOptions.h
Returns a dictionary of updated image properties that reflects the user’s selection. (read-only)
@property(readonly) NSDictionary *imageProperties
IKSaveOptions.h
Returns the uniform type identifier that reflects the user’s selection. (read-only)
@property(readonly) NSString *imageUTType
IKSaveOptions.h
Returns a dictionary that contains the save options selected by the user. (read-only)
@property(readonly) NSDictionary *userSelection
IKSaveOptions.h
Adds IKSaveOptions
accessory view to a NSSavePanel
.
- (void)addSaveOptionsAccessoryViewToSavePanel:(NSSavePanel *)savePanel
The save panel to add the IKSaveOptions
to.
IKSaveOptions.h
Initializes a save options accessory pane for the provided image properties and uniform type identifier.
- (id)initWithImageProperties:(NSDictionary *)imageProperties imageUTType:(NSString *)imageUTType
A dictionary of image properties.
A string that specifies a uniform type identifier, such as JPEG
. See Uniform Type Identifiers Overview.
The initialized object.
IKSaveOptions.h
Called to determine if the specified uniform type identifier should be shown in the save panel.
- (BOOL)saveOptions:(IKSaveOptions *)saveOptions shouldShowUTType:(NSString *)utType
The IKSaveOptions
instance that called the delegate.
The uniform type identifier to test.
YES
if the specified type should be shown in the save options, otherwise NO
.
IKSaveOptions.h
Last updated: 2010-03-24