
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCICollectionChangedEventArgs
@interface SCICollectionChangedEventArgs<E> : NSObject <ISCICleanable>
Defines a class which contains changes of SCIObservableCollection
.
-
Gets the list of new items involved in the change.
Declaration
Objective-C
@property (nonatomic, strong, getter=getNewItems) NSMutableArray<E> *newItems;
Swift
var newItems: NSMutableArray! { get set }
-
Gets the old items which were removed or replaced in this change.
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<E> *oldItems;
Swift
var oldItems: NSMutableArray! { get set }
-
Gets the index at which the change occurred.
Declaration
Objective-C
@property (nonatomic) NSInteger newIndex;
Swift
var newIndex: Int { get set }
-
Gets the index at which the change occurred.
Declaration
Objective-C
@property (nonatomic) NSInteger oldIndex;
Swift
var oldIndex: Int { get set }
-
Gets the action that caused the event.
Declaration
Objective-C
@property (nonatomic) SCICollectionChangedAction action;
Swift
var action: SCICollectionChangedAction { get set }