Contents

isLeafItem(_:)

Returns whether the specified item is a leaf item.

Declaration

func isLeafItem(_ item: Any?) -> Bool

Parameters

  • item:

    The item to be checked.

Return Value

true if the item is a leaf item; otherwise, false.

Discussion

This method may return false if the item has never been displayed in the browser or accessed via item(at:). Overriding this method has no effect. It may be used only if the browser’s delegate implements the item data source methods.

See Also

Accessing Components