IKImageBrowserItem Protocol

The IKImageBrowserItem informal protocol declares the methods that an instance of the IKImageBrowserView class uses to access the contents of its data source for a given item. Some of the methods in this protocol are needed frequently, so you should implement them efficiently.


Providing Required Information for an Image

func imageUID() -> String!

Returns a unique string that identifies the data source item.

func imageRepresentationType() -> String!

Returns the representation type of the image to display.

func imageRepresentation() -> Any!

Returns the image to display.

Providing Optional Information for an Image

func imageVersion() -> Int

Returns the version of the item.

func imageTitle() -> String!

Returns the display title of the image.

func imageSubtitle() -> String!

Returns the display subtitle of the image.


Image Representation Types

Representation types for images.