Mac Developer Library

Developer

IKCameraDeviceView Class Reference

Options
Deployment Target:

On This Page
Language:

IKCameraDeviceView

The IKCameraDeviceView class displays the contents of the selected camera.

  • The current camera device.

    Declaration

    @property(assign) ICCameraDevice *cameraDevice

  • Returns whether the selected items can be deleted. (read-only)

    Declaration

    @property(readonly) BOOL canDeleteSelectedItems

  • Deletes the currently selected items.

    Declaration

    - (void)deleteSelectedItems:(id)sender

    Parameters

    sender

    The object that sent the message.

    Discussion

    This method is can be connected to a user interface item in Interface Builder.

  • Invoked to select the specified files, extending the selection if specified.

    Declaration

    - (void)selectIndexes:(NSIndexSet *)indexes byExtendingSelection:(BOOL)extend

    Parameters

    indexes

    The indexes of the files to select.

    extend

    YEStrue if the selection should be extended, otherwise NOfalse.

  • The selected indexes of the camera files.

    Declaration

    - (NSIndexSet *)selectedIndexes

    Return Value

    The indexes of the selected files.

  • Returns whether the selected items can be rotated left. (read-only)

    Declaration

    @property(readonly) BOOL canRotateSelectedItemsLeft

  • Returns whether the selected items can be rotated right. (read-only)

    Declaration

    @property(readonly) BOOL canRotateSelectedItemsRight

  • Rotates the selected image to the left.

    Declaration

    - (void)rotateLeft:(id)sender

    Parameters

    sender

    The object that sent the message.

    Discussion

    This method is can be connected to a user interface item in Interface Builder.

  • Rotates the selected image to the right.

    Declaration

    - (void)rotateRight:(id)sender

    Parameters

    sender

    The object that sent the message.

    Discussion

    This method is can be connected to a user interface item in Interface Builder.

  • These constants specify the display mode used by the camera view. These constants are used by mode.

    Declaration

    enum { IKCameraDeviceViewDisplayModeTable = 0, IKCameraDeviceViewDisplayModeIcon }; typedef NSInteger IKCameraDeviceViewDisplayMode;

    Constants

    • IKCameraDeviceViewDisplayModeTable

      Display the devices in as a table.

    • IKCameraDeviceViewDisplayModeIcon

      Display the devices as icons.

  • These constants specify the transfer mode used by the camera view. These constants are used by mode.

    Declaration

    enum { IKCameraDeviceViewTransferModeFileBased = 0, IKCameraDeviceViewTransferModeMemoryBased }; typedef NSInteger IKCameraDeviceViewTransferMode;

    Constants

    • IKCameraDeviceViewTransferModeFileBased

      Transferred files will be saved to disk by the delegate.

    • IKCameraDeviceViewTransferModeMemoryBased

      Transferred files will be supplied to the delegate as an NSData object.