Instance Method

imageRepresentation()

Returns the image to display.

Declaration

func imageRepresentation() -> Any!

Return Value

The image to display; can return nil if the item has no image to display.

Discussion

Your data source must implement this method. This method is called frequently, so the receiver should cache the returned instance.

See Also

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.