Mac OS X Reference Library Apple Developer
Search

IKImageViewDemo

Last Revision:
Version 1.0, 2006-08-01
How to use the ImageKit IKImageView methods to display and manipulate an image.
Build Requirements:
Leopard Preview
Runtime Requirements:
Leopard Preview

This small sample project shows how to use the ImagKit IKImageView to display a single image.

After launching, the user will get a window with a sample image displayed in an IKImageView.

The sample code shows how to handle zooming (zoom-out, zoom-in, zoom-to-actual-size, and zoom-to-fit).

The application uses segmented controls to work with the different tool modes (hand-tool, selection-tool, crop-tool, and rotation-tool).

For handling the 'Save as…', the sample code is using the new ImageKit IKSaveOptions to present a save panel accessory view that deals with different image settings.




Last updated: 2006-08-01

Did this document help you? Yes It's good, but... Not helpful...