IKSaveOptions 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 | IKSaveOptions.h |
Overview
The IKSaveOptions class initializes, adds, and manages user interface options for saving image data.
Tasks
Creating A Save Options Accessory View
Retrieving User Responses
-
imagePropertiesproperty -
imageUTTypeproperty -
userSelectionproperty
Getting and Setting the Delegate
-
delegateproperty
File Type Filtering
-
– saveOptions:shouldShowUTType:delegate method
Properties
delegate
Specifies the delegate object.
Availability
- Available in OS X v10.6 and later.
See Also
Declared In
IKSaveOptions.himageProperties
Returns a dictionary of updated image properties that reflects the user’s selection. (read-only)
Availability
- Available in OS X v10.6 and later.
Declared In
IKSaveOptions.himageUTType
Returns the uniform type identifier that reflects the user’s selection. (read-only)
Availability
- Available in OS X v10.6 and later.
Declared In
IKSaveOptions.huserSelection
Returns a dictionary that contains the save options selected by the user. (read-only)
Availability
- Available in OS X v10.6 and later.
Declared In
IKSaveOptions.hInstance Methods
addSaveOptionsAccessoryViewToSavePanel:
Adds IKSaveOptions accessory view to a NSSavePanel.
Parameters
- savePanel
The save panel to add the
IKSaveOptionsto.
Availability
- Available in OS X v10.5 and later.
Declared In
IKSaveOptions.hinitWithImageProperties:imageUTType:
Initializes a save options accessory pane for the provided image properties and uniform type identifier.
Parameters
- imageProperties
A dictionary of image properties.
- imageUTType
A string that specifies a uniform type identifier, such as
JPEG. See Uniform Type Identifiers Overview.
Return Value
The initialized object.
Availability
- Available in OS X v10.5 and later.
Declared In
IKSaveOptions.hDelegate Methods
saveOptions:shouldShowUTType:
Called to determine if the specified uniform type identifier should be shown in the save panel.
Parameters
- saveOptions
The
IKSaveOptionsinstance that called the delegate.- utType
The uniform type identifier to test.
Return Value
YES if the specified type should be shown in the save options, otherwise NO.
Availability
- Available in OS X v10.6 and later.
Declared In
IKSaveOptions.h© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-03-24)