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

SCILockableObservableCollection

@interface SCILockableObservableCollection<__covariant T>
    : SCIObservableCollection <T>

Defines SCIObservableCollection with SCIReadWriteLock to ensure thread safety.

Note

T Type of items.
  • Gets or sets a synchronization object used to lock objects in this collection. Also locked on append, update, remove or clear.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) SCIReadWriteLock *lock;

    Swift

    var lock: SCIReadWriteLock! { get set }