iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCISuspendable
@protocol ISCISuspendable <NSObject>
Classes which implement ISCISuspendable can have updates suspended/resumed.
Note
Useful for batch operations.-
Gets a value indicating whether updates for the target are currently suspended.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isSuspended;Swift
var isSuspended: Bool { get } -
Suspends drawing updated on the target until the returned object is disposed, when a final draw call will be issued.
Declaration
Objective-C
- (nonnull id<ISCIUpdateSuspender>)suspendUpdates;Swift
func suspendUpdates() -> any ISCIUpdateSuspenderReturn Value
ISCIUpdateSuspenderinstance which suspends updated until it will be disposed. -
Resumes updates on the target, intended to e called by
ISCIUpdateSuspender.Declaration
Objective-C
- (void)resumeUpdates:(nonnull id<ISCIUpdateSuspender>)suspender;Swift
func resumeUpdates(_ suspender: any ISCIUpdateSuspender)Parameters
suspenderISCIUpdateSuspenderinstance which was created by-suspendUpdatescall. -
Called by
ISCIUpdateSuspendereach time a target suspender is disposed. When the final target suspender has been disposed.Declaration
Objective-C
- (void)decrementSuspend;Swift
func decrementSuspend()
View on GitHub