Mac Developer Library

Developer

IKImageEditPanelDataSource Protocol Reference

Options
Deployment Target:

On This Page
Language:

IKImageEditPanelDataSource

The IKImageEditPanelDataSource protocol describes the methods that an IKImageEditPanel object uses to access the contents of its data source object.

  • Returns an image.

    Declaration

    - (CGImageRef)image

    Return Value

    An image.

    Discussion

    Your data source must implement this method.

    Availability

    Available in OS X v 10.5 and later.

  • Returns a thumbnail image whose size is no larger than the specified size.

    Declaration

    - (CGImageRef)thumbnailWithMaximumSize:(NSSize)size

    Return Value

    An image.

    Availability

    Available in OS X v 10.5 and later.

  • Returns whether the adjust mode view tab should be displayed.

    Declaration

    - (BOOL)hasAdjustMode

    Return Value

    YEStrue if the tab should be displayed, otherwise NO.

  • Returns whether the details mode view tab should be displayed.

    Declaration

    - (BOOL)hasDetailsMode

    Return Value

    YEStrue if the tab should be displayed, otherwise NO.

  • Returns whether the effects mode view tab should be displayed.

    Declaration

    - (BOOL)hasEffectsMode

    Return Value

    YEStrue if the tab should be displayed, otherwise NO.