IKDeviceBrowserViewDelegate Protocol Reference

Framework
/System/Library/Frameworks/Quartz.framework/ImageKit.framework
Availability
Available in OS X v10.6 and later.
Declared in
IKDeviceBrowserView.h

Overview

The IKDeviceBrowserViewDelegate defines the methods that the delegate of the IKDeviceBrowserView class can implement. All the methods are optional.

Tasks

Responding to Selection Changes

Responding to Errors

Instance Methods

deviceBrowserView:didEncounterError:

Invoked when the device browser encounters an error.

- (void)deviceBrowserView:(IKDeviceBrowserView *)deviceBrowserView didEncounterError:(NSError *)error
Parameters
deviceBrowserView

The object that sent the message.

error

The error the device browser encountered.

Discussion

The user should handle the error in some fashion, for example, presenting an error panel to the user.

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

deviceBrowserView:selectionDidChange:

Sent to the delegate when the selection changes in the browser view.

- (void)deviceBrowserView:(IKDeviceBrowserView *)deviceBrowserView selectionDidChange:(ICDevice *)device
Parameters
deviceBrowserView

The object that sent the message.

device

The newly selected device.

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