iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCICollectionChangedEventArgs

@interface SCICollectionChangedEventArgs<E> : NSObject <ISCICleanable>

Defines a class which contains changes of SCIObservableCollection.

Note

E - is the type of elements in the changed SCIObservableCollection.
  • Gets the list of new items involved in the change.

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite, 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, readwrite) NSMutableArray<E> *oldItems;

    Swift

    var oldItems: NSMutableArray! { get set }
  • Gets the index at which the change occurred.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) NSInteger newIndex;

    Swift

    var newIndex: Int { get set }
  • Gets the index at which the change occurred.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) NSInteger oldIndex;

    Swift

    var oldIndex: Int { get set }
  • Gets the action that caused the event.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        SCICollectionChangedAction action;

    Swift

    var action: SCICollectionChangedAction { get set }