Cocoa Collection View
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Cocoa Collection View
Cocoa classes for a collection or grid view
- Classes
- class NSCollectionViewFlowLayoutInvalidationContextMBS
- class NSCollectionViewFlowLayoutMBS
- class NSCollectionViewGridLayoutMBS
- class NSCollectionViewItemMBS
- class NSCollectionViewLayoutAttributesMBS
- class NSCollectionViewLayoutInvalidationContextMBS
- class NSCollectionViewLayoutMBS
- class NSCollectionViewMBS
- method backgroundColors as NSColorMBS()
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as double, top as double, width as double, height as double)
- method deleteItems(indexPaths() as NSIndexPathMBS)
- method deleteSections(sections as NSIndexSetMBS)
- method deselectAll
- method deselectItems(indexPaths() as NSIndexPathMBS)
- method frameForItem(Index as Integer) as NSRectMBS
- method frameForItem(Index as Integer, numberOfItems as Integer) as NSRectMBS
- method indexPathForItem(indexPath as NSCollectionViewItemMBS) as NSIndexPathMBS
- method indexPathForItem(x as double, y as double) as NSIndexPathMBS
- method indexPathsForVisibleItems as NSIndexPathMBS()
- method indexPathsForVisibleSupplementaryElementsOfKind(elementKind as String) as NSIndexPathMBS()
- method insertItems(indexPaths() as NSIndexPathMBS)
- method insertSections(sections as NSIndexSetMBS)
- method item(index as Integer) as NSCollectionViewItemMBS
- method item(indexPath as NSIndexPathMBS) as NSCollectionViewItemMBS
- method layoutAttributesForItem(indexPath as NSIndexPathMBS) as NSCollectionViewLayoutAttributesMBS
- method layoutAttributesForSupplementaryElementOfKind(kind as String, indexPath as NSIndexPathMBS) as NSCollectionViewLayoutAttributesMBS
- method makeItem(indexPath as NSIndexPathMBS) as NSCollectionViewItemMBS
- method makeSupplementaryViewOfKind(elementKind as String, indexPath as NSIndexPathMBS) as NSCollectionViewSectionHeaderViewMBS
- method moveItem(indexPath as NSIndexPathMBS, toIndexPath as NSIndexPathMBS)
- method moveSection(section as Integer, toSection as Integer)
- method numberOfItemsInSection(section as Integer) as Integer
- method reloadData
- method reloadItems(indexPaths() as NSIndexPathMBS)
- method reloadSections(sections as NSIndexSetMBS)
- method scrollToItems(indexPaths() as NSIndexPathMBS, scrollPosition as Integer)
- method selectAll
- method selection as NSIndexPathMBS()
- method selectItems(indexPaths() as NSIndexPathMBS, scrollPosition as Integer)
- method setBackgroundColors(Colors() as NSColorMBS = nil)
- method setDraggingSourceOperationMask(mask as integer, local as boolean)
- method setSelection(indexPaths() as NSIndexPathMBS)
- method supplementaryViewForElementKind(elementKind as String, indexPath as NSIndexPathMBS) as NSCollectionViewSectionHeaderViewMBS
- method toggleSectionCollapse(sender as NSViewMBS)
- method visibleItems as NSCollectionViewItemMBS()
- method visibleSupplementaryViewsOfKind(elementKind as String) as NSViewMBS()
- property allowsEmptySelection as Boolean
- property allowsMultipleSelection as Boolean
- property animator as NSCollectionViewMBS
- property backgroundView as NSViewMBS
- property backgroundViewScrollsWithContent as Boolean
- property collectionViewLayout as NSCollectionViewLayoutMBS
- property firstResponder as Boolean
- property numberOfSections as Integer
- property selectable as Boolean
- class NSCollectionViewSectionHeaderViewMBS
- class NSCollectionViewTransitionLayoutMBS
- class NSCollectionViewUpdateItemMBS
- class NSIndexPathMBS
- Controls
- control DesktopNSCollectionViewControlMBS
- method performBatchUpdates(tag as variant)
- property ScrollView as NSScrollViewMBS
- property View as NSCollectionViewMBS
- event acceptDrop(draggingInfo as NSDraggingInfoMBS, indexPath as NSIndexPathMBS, dropOperation as Integer) as Integer
- event BoundsChanged
- event cancelPrefetchingForItems(indexPaths() as NSIndexPathMBS)
- event canDragItems(indexPaths() as NSIndexPathMBS, NSEvent as NSEventMBS) as Boolean
- event Closing
- event ConstructContextualMenu(base as DesktopMenuItem, x as Integer, y as Integer) As Boolean
- event ContextualMenuItemSelected(selectedItem As DesktopMenuItem) As Boolean
- event didChangeItems(indexPaths() as NSIndexPathMBS, highlightState as Integer)
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event didDeselectItems(indexPaths() as NSIndexPathMBS)
- event didEndDisplayingItem(item as NSCollectionViewItemMBS, indexPath as NSIndexPathMBS)
- event didEndDisplayingSupplementaryView(view as NSViewMBS, elementKind as String, indexPath as NSIndexPathMBS)
- event didSelectItems(indexPaths() as NSIndexPathMBS)
- event draggingImageForItems(indexPaths() as NSIndexPathMBS, NSEvent as NSEventMBS, byref dragImageOffset as NSPointMBS) as NSImageMBS
- event draggingSessionEnded(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, dragOperation as Integer)
- event draggingSessionWillBegin(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, indexPaths() as NSIndexPathMBS)
- event FocusLost
- event FocusReceived
- event FrameChanged
- event insetForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as NSEdgeInsetsMBS
- event ItemApplyLayoutAttributes(item as NSCollectionViewItemMBS, layoutAttributes as NSCollectionViewLayoutAttributesMBS)
- event ItemDidTransition(item as NSCollectionViewItemMBS, oldLayout as NSCollectionViewLayoutMBS, newLayout as NSCollectionViewLayoutMBS)
- event itemForRepresentedObject(indexPath as NSIndexPathMBS) as NSCollectionViewItemMBS
- event ItemPreferredLayoutAttributesFittingAttributes(item as NSCollectionViewItemMBS, layoutAttributes as NSCollectionViewLayoutAttributesMBS) as NSCollectionViewLayoutAttributesMBS
- event ItemPrepareForReuse(item as NSCollectionViewItemMBS)
- event ItemWillTransition(item as NSCollectionViewItemMBS, oldLayout as NSCollectionViewLayoutMBS, newLayout as NSCollectionViewLayoutMBS)
- event MenuBarSelected
- event minimumInteritemSpacingForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as double
- event minimumLineSpacingForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as double
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x As Integer, y As Integer)
- event namesOfPromisedFilesDroppedAtDestination(dropURL as String, indexPaths() as NSIndexPathMBS) as String()
- event numberOfItemsInSection(section as Integer) as Integer
- event numberOfSections as Integer
- event Opening
- event pasteboardWriterForItem(indexPath as NSIndexPathMBS) as NSPasteboardItemMBS
- event performBatchUpdatesCompleted(tag as variant, finished as boolean)
- event performBatchUpdatesWork(tag as variant)
- event prefetchItems(indexPaths() as NSIndexPathMBS)
- event referenceSizeForFooterInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- event referenceSizeForHeaderInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- event ScaleFactorChanged(NewFactor as double)
- event shouldChangeItems(indexPaths() as NSIndexPathMBS, highlightState as Integer) as NSIndexPathMBS()
- event shouldDeselectItems(indexPaths() as NSIndexPathMBS) as NSIndexPathMBS()
- event shouldSelectItems(indexPaths() as NSIndexPathMBS) as NSIndexPathMBS()
- event sizeForItemAtIndexPath(layout as NSCollectionViewLayoutMBS, indexPath as NSIndexPathMBS) as NSSizeMBS
- event transitionLayout(fromLayout as NSCollectionViewLayoutMBS, toLayout as NSCollectionViewLayoutMBS) as NSCollectionViewTransitionLayoutMBS
- event updateDraggingItemsForDrag(draggingInfo as NSDraggingInfoMBS)
- event validateDrop(draggingInfo as NSDraggingInfoMBS, byref proposedIndexPath as NSIndexPathMBS, byref dropOperation as Integer) as Integer
- event viewForSupplementaryElement(kind as String, indexPath as NSIndexPathMBS) as NSViewMBS
- event willDisplayItem(item as NSCollectionViewItemMBS, indexPath as NSIndexPathMBS)
- event willDisplaySupplementaryView(view as NSViewMBS, elementKind as String, indexPath as NSIndexPathMBS)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event writeItems(indexPaths() as NSIndexPathMBS, Pasteboard as NSPasteboardMBS) as Boolean
- control NSCollectionViewControlMBS
- method performBatchUpdates(tag as variant)
- property ScrollView as NSScrollViewMBS
- property View as NSCollectionViewMBS
- event acceptDrop(draggingInfo as NSDraggingInfoMBS, indexPath as NSIndexPathMBS, dropOperation as Integer) as Integer
- event BoundsChanged
- event cancelPrefetchingForItems(indexPaths() as NSIndexPathMBS)
- event canDragItems(indexPaths() as NSIndexPathMBS, NSEvent as NSEventMBS) as Boolean
- event Close
- event Closing
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didChangeItems(indexPaths() as NSIndexPathMBS, highlightState as Integer)
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event didDeselectItems(indexPaths() as NSIndexPathMBS)
- event didEndDisplayingItem(item as NSCollectionViewItemMBS, indexPath as NSIndexPathMBS)
- event didEndDisplayingSupplementaryView(view as NSViewMBS, elementKind as String, indexPath as NSIndexPathMBS)
- event didSelectItems(indexPaths() as NSIndexPathMBS)
- event draggingImageForItems(indexPaths() as NSIndexPathMBS, NSEvent as NSEventMBS, byref dragImageOffset as NSPointMBS) as NSImageMBS
- event draggingSessionEnded(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, dragOperation as Integer)
- event draggingSessionWillBegin(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, indexPaths() as NSIndexPathMBS)
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event insetForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as NSEdgeInsetsMBS
- event ItemApplyLayoutAttributes(item as NSCollectionViewItemMBS, layoutAttributes as NSCollectionViewLayoutAttributesMBS)
- event ItemDidTransition(item as NSCollectionViewItemMBS, oldLayout as NSCollectionViewLayoutMBS, newLayout as NSCollectionViewLayoutMBS)
- event itemForRepresentedObject(indexPath as NSIndexPathMBS) as NSCollectionViewItemMBS
- event ItemPreferredLayoutAttributesFittingAttributes(item as NSCollectionViewItemMBS, layoutAttributes as NSCollectionViewLayoutAttributesMBS) as NSCollectionViewLayoutAttributesMBS
- event ItemPrepareForReuse(item as NSCollectionViewItemMBS)
- event ItemWillTransition(item as NSCollectionViewItemMBS, oldLayout as NSCollectionViewLayoutMBS, newLayout as NSCollectionViewLayoutMBS)
- event LostFocus
- event MenuBarSelected
- event minimumInteritemSpacingForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as double
- event minimumLineSpacingForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as double
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x As Integer, y As Integer)
- event namesOfPromisedFilesDroppedAtDestination(dropURL as String, indexPaths() as NSIndexPathMBS) as String()
- event numberOfItemsInSection(section as Integer) as Integer
- event numberOfSections as Integer
- event Open
- event Opening
- event pasteboardWriterForItem(indexPath as NSIndexPathMBS) as NSPasteboardItemMBS
- event performBatchUpdatesCompleted(tag as variant, finished as boolean)
- event performBatchUpdatesWork(tag as variant)
- event prefetchItems(indexPaths() as NSIndexPathMBS)
- event referenceSizeForFooterInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- event referenceSizeForHeaderInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- event ScaleFactorChanged(NewFactor as double)
- event shouldChangeItems(indexPaths() as NSIndexPathMBS, highlightState as Integer) as NSIndexPathMBS()
- event shouldDeselectItems(indexPaths() as NSIndexPathMBS) as NSIndexPathMBS()
- event shouldSelectItems(indexPaths() as NSIndexPathMBS) as NSIndexPathMBS()
- event sizeForItemAtIndexPath(layout as NSCollectionViewLayoutMBS, indexPath as NSIndexPathMBS) as NSSizeMBS
- event transitionLayout(fromLayout as NSCollectionViewLayoutMBS, toLayout as NSCollectionViewLayoutMBS) as NSCollectionViewTransitionLayoutMBS
- event updateDraggingItemsForDrag(draggingInfo as NSDraggingInfoMBS)
- event validateDrop(draggingInfo as NSDraggingInfoMBS, byref proposedIndexPath as NSIndexPathMBS, byref dropOperation as Integer) as Integer
- event viewForSupplementaryElement(kind as String, indexPath as NSIndexPathMBS) as NSViewMBS
- event willDisplayItem(item as NSCollectionViewItemMBS, indexPath as NSIndexPathMBS)
- event willDisplaySupplementaryView(view as NSViewMBS, elementKind as String, indexPath as NSIndexPathMBS)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event writeItems(indexPaths() as NSIndexPathMBS, Pasteboard as NSPasteboardMBS) as Boolean
- Blog Entries
Release notes
- Version 24.0
- Fixed crash in NSIndexPathMBS when passing nil array to Constructor or indexPathWithIndexes method.
- Version 21.3
- Version 21.2
- Version 21.1
- Version 21.0
The items on this page are in the following plugins: MBS MacControls Plugin.