IKImageBrowserView
A view for displaying and browsing a large collection of images and movies.
Declaration
class IKImageBrowserViewOverview
The IKImageBrowserView class is a view for displaying and browsing a large amount of images and movies efficiently. This class will be deprecated in a future release. Please switch to NSCollectionView instead.
You must set a datasource for the view and implement, at a minimum, the numberOfItems(inImageBrowser:) and imageBrowser(_:itemAt:) described in IKImageBrowserDataSource Protocol. The items must conform to the IKImageBrowserItem Protocol protocol.
The class’s delegate object must conform to IKImageBrowserDelegate Protocol protocol. It receives notification of changes in selection, as well as mouse events in the cells.
Topics
Updating the Display of the Content
Getting and Setting the Delegate
Getting and Setting the Data Source
Setting the Appearance
setCellsStyleMask(_:)cellsStyleMask()setConstrainsToOriginalSize(_:)constrainsToOriginalSize()setIntercellSpacing(_:)intercellSpacing()
Creating a Custom Cell for an Item
Zooming and Resizing
Scrolling
Setting and Getting Cell Size
Getting Item Information
Reordering and Groups Items
selectionIndexes()setSelectionIndexes(_:byExtendingSelection:)setAllowsMultipleSelection(_:)allowsMultipleSelection()setAllowsEmptySelection(_:)allowsEmptySelection()setAllowsReordering(_:)allowsReordering()setAnimates(_:)animates()expandGroup(at:)collapseGroup(at:)isGroupExpanded(at:)
Supporting Drag and Drop
setDraggingDestinationDelegate(_:)draggingDestinationDelegate()setDrop(_:dropOperation:)indexAtLocationOfDroppedItem()setAllowsDroppingOnItems(_:)allowsDroppingOnItems()dropOperation()