IKImageViewDemo

Last Revision:
Version 1.2, 2012-08-31
Update to use ARC and latest Developer Tools. Fixed deprecation warnings.
(Full Revision History)
Build Requirements:
Xcode 4.4
Runtime Requirements:
Mac OS X 10.6

This small sample project shows how to use the ImageKit 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.


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