XuniNotifyCollectionChangedEventArgs Class Reference

Inherits from XuniEventArgs : NSObject
Declared in ICollectionView.h

Overview

Provides data for the collectionChanged event

+ reset

Reset the arguments.

+ (XuniNotifyCollectionChangedEventArgs *)reset

Return Value

the reset object.

Discussion

Reset the arguments.

Declared In

ICollectionView.h

  action

Gets the action that caused the event.

@property XuniNotifyCollectionChangedAction action

Discussion

Gets the action that caused the event.

Declared In

ICollectionView.h

  items

New items added to the collection.

@property NSMutableArray *items

Discussion

New items added to the collection.

Declared In

ICollectionView.h

  startingIndex

Start index of the new items in the collection.

@property long startingIndex

Discussion

Start index of the new items in the collection.

Declared In

ICollectionView.h

  oldItems

Old items removed from the collection.

@property NSMutableArray *oldItems

Discussion

Old items removed from the collection.

Declared In

ICollectionView.h

  oldStartingIndex

Start index of the old items removed from the collection.

@property long oldStartingIndex

Discussion

Start index of the old items removed from the collection.

Declared In

ICollectionView.h

– initWithAction:

Initialize an object for XuniNotifyCollectionChangedEventArgs.

- (id)initWithAction:(XuniNotifyCollectionChangedAction)action

Parameters

action

the specified action.

Return Value

an object for XuniNotifyCollectionChangedEventArgs.

Discussion

Initialize an object for XuniNotifyCollectionChangedEventArgs.

Declared In

ICollectionView.h

– initWithAction:forItems:atStartingIndex:forOldItems:atOldStartingIndex:

Initialize an object for XuniNotifyCollectionChangedEventArgs with arguments.

- (id)initWithAction:(XuniNotifyCollectionChangedAction)action forItems:(NSMutableArray *)items atStartingIndex:(long)startingIndex forOldItems:(NSMutableArray *)oldItems atOldStartingIndex:(long)oldStartingIndex

Parameters

action

the specified action.

items

the specified items.

startingIndex

the specified startingIndex.

oldItems

the specified oldItems.

oldStartingIndex

the specified oldStartingIndex.

Return Value

an object for XuniNotifyCollectionChangedEventArgs。

Discussion

Initialize an object for XuniNotifyCollectionChangedEventArgs with arguments.

Declared In

ICollectionView.h