Platforms to show: All Mac Windows Linux Cross-Platform
NSCollectionViewUpdateItemMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
You do not create instances of this class directly. When updating its content, the collection view object creates them and passes them to the layout object’s prepareForCollectionViewUpdates method, which can use them to prepare for the upcoming changes.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- property indexPathAfterUpdate as NSIndexPathMBS
- property indexPathBeforeUpdate as NSIndexPathMBS
- property updateAction as Integer
- method Constructor Private
- 5 constants
Update Actions
Constant | Value | Description |
---|---|---|
UpdateActionDelete | 1 |
Remove the action from the collection view. |
UpdateActionInsert | 0 |
Insert the item into the collection view. |
UpdateActionMove | 3 |
Move the item from its current location to a new location. |
UpdateActionNone | 4 |
Take no action on the item. |
UpdateActionReload | 2 |
Reload the item, which consists of deleting and then inserting the item. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacControls Plugin.
NSCollectionViewTransitionLayoutMBS - NSColorListMBS