iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIRenderSurfaceRenderer
@protocol ISCIRenderSurfaceRenderer <ISCIDrawable>
Defines the protocol for renderer which is used to render content of ISCIRenderSurface.
-
Called when renderer is attached to new
ISCIRenderSurfaceinstance.Declaration
Objective-C
- (void)onSurfaceAttached:(nullable id<ISCIRenderSurface>)renderSurface;Swift
func onSurfaceAttached(_ renderSurface: (any ISCIRenderSurface)?)Parameters
renderSurfaceThe target render surface.
-
Called when renderer is detached from current
ISCIRenderSurfaceinstance.Declaration
Objective-C
- (void)onSurfaceDetached:(nullable id<ISCIRenderSurface>)renderSurface;Swift
func onSurfaceDetached(_ renderSurface: (any ISCIRenderSurface)?)Parameters
renderSurfaceThe target render surface.
View on GitHub