iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIAttachableObservableCollection

@interface SCIAttachableObservableCollection<T : id <ISCIAttachable>>
    : SCIObservableCollection <T>
      <ISCIAttachable, ISCIServiceProvider, ISCICommonInitializer>

Defines a collection implementation which allows to get notification about adding, removing objects from it.

Note

T is the type of underlying objects.

Note

T should be at least of type ISCIAttachable.
  • Initializes a new instance of SCIAttachableObservableCollection class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCollection:(nonnull NSArray<T> *)collection;

    Swift

    init(collection: [T])

    Parameters

    collection

    The collections with ISCIAttachable items to add.