Mac Developer Library

Developer

IKDeviceBrowserViewDelegate Protocol Reference

Options
Deployment Target:

On This Page

IKDeviceBrowserViewDelegate

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

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

    Declaration

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

    Parameters

    deviceBrowserView

    The object that sent the message.

    device

    The newly selected device.

  • Invoked when the device browser encounters an error.

    Declaration

    - (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.