IKSaveOptions Class Reference

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
Related sample code

Overview

The IKSaveOptions class initializes, adds, and manages user interface options for saving image data.

Tasks

Initializing and Adding Options

Retrieving User Settings

Filtering Save Options

Filtering Save Types

Properties

For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.

delegate

Returns the delegate object. (read-only)

@property(readonly) id delegate
Availability
Declared In
IKSaveOptions.h

imageProperties

Returns a dictionary of updated image properties that reflects the user’s selection. (read-only)

@property(readonly) NSDictionary *imageProperties
Availability
Related Sample Code
Declared In
IKSaveOptions.h

imageUTType

Returns the uniform type identifier that reflects the user’s selection. (read-only)

@property(readonly) NSString *imageUTType
Availability
Related Sample Code
Declared In
IKSaveOptions.h

userSelection

Returns a dictionary that contains the save options selected by the user. (read-only)

@property(readonly) NSDictionary *userSelection
Availability
Declared In
IKSaveOptions.h

Instance Methods

addSaveOptionsAccessoryViewToSavePanel:

Adds IKSaveOptions UI to a NSSavePanel.

- (void)addSaveOptionsAccessoryViewToSavePanel:(NSSavePanel *)savePanel

Parameters
savePanel

The save panel to add the IKSaveOptions to.

Availability
  • Available in Mac OS X v10.5 and later.
Related Sample Code
Declared In
IKSaveOptions.h

addSaveOptionsToView:

Adds the save options interface to the specified view.

- (void)addSaveOptionsToView:(NSView *)view

Parameters
view

The view that the interface is added to.

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKSaveOptions.h

initWithImageProperties:imageUTType:

Initializes a save options accessory pane for the provided image properties and uniform type identifier.

- (id)initWithImageProperties:(NSDictionary *)imageProperties imageUTType:(NSString *)imageUTType

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 Mac OS X v10.5 and later.
Related Sample Code
Declared In
IKSaveOptions.h


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-08-25)