Mac Developer Library

Developer

Quartz Framework Reference IKDeviceBrowserView Class Reference

Options
Deployment Target:

On This Page
Language:

IKDeviceBrowserView

The IKDeviceBrowserView allows you to select a camera or scanner from a list of the available devices.

Delegation

The IKDeviceBrowserView delegate must conform to the IKDeviceBrowserViewDelegate protocol. The delegate provides methods to inform you of selection changes in the browser as well as errors encountered when creating the browser list.

Inheritance


Import Statement


Swift

import Quartz

Objective-C

@import Quartz;

Availability


Available in OS X v10.6 and later.
  • Returns the selected device. (read-only)

    Declaration

    Swift

    var selectedDevice: ICDevice! { get }

    Objective-C

    @property(readonly) ICDevice *selectedDevice

    Import Statement

    Objective-C

    @import Quartz;

    Swift

    import Quartz

    Availability

    Available in OS X v10.6 and later.

    See Also

    deviceBrowserView:selectionDidChange: (IKDeviceBrowserViewDelegate)

  • These constants specify the display mode of the device browser.

    Declaration

    Swift

    enum IKDeviceBrowserViewDisplayMode : Int { case Table case Outline case Icon }

    Objective-C

    enum { IKDeviceBrowserViewDisplayModeTable, IKDeviceBrowserViewDisplayModeOutline, IKDeviceBrowserViewDisplayModeIcon }; typedef NSInteger IKDeviceBrowserViewDisplayMode;

    Constants

    • Table

      IKDeviceBrowserViewDisplayModeTable

      The devices are displayed in a table.

      Available in OS X v10.6 and later.

    • Outline

      IKDeviceBrowserViewDisplayModeOutline

      The devices are displayed in an outline.

      Available in OS X v10.6 and later.

    • Icon

      IKDeviceBrowserViewDisplayModeIcon

      The devices are displayed as icons.

      Available in OS X v10.6 and later.

    Import Statement

    Objective-C

    @import Quartz;

    Swift

    import Quartz

    Availability

    Available in OS X v10.6 and later.