iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
Other Type Definitions
The following type definitions are available globally.
-
Creates
ISCISeriesValueMarkerfor displaying latest YValue of specified renderable seriesDeclaration
Objective-C
typedef id<ISCISeriesValueMarker> _Nonnull (^CreateMarkerFunc)( id<ISCIRenderableSeries> _Nonnull)Swift
typealias CreateMarkerFunc = (any ISCIRenderableSeries) -> any ISCISeriesValueMarkerParameters
renderableSeriesThe target renderable series
Return Value
The series value marker to use
-
Block which defines action without parameters.
Declaration
Objective-C
typedef void (^SCIAction)(void)Swift
typealias SCIAction = () -> Void -
Interface which defines action that accepts one argument.
Declaration
Objective-C
typedef void (^SCIAction1)(id)Swift
typealias SCIAction1 = (Any?) -> VoidParameters
argArgument for the action.
-
Interface which defines action that accepts two arguments.
Declaration
Objective-C
typedef void (^SCIAction2)(id, id)Swift
typealias SCIAction2 = (Any?, Any?) -> VoidParameters
arg1First argument for the action.
arg2Second argument for the action.
-
Defines an extensible enum for index of Annotation points
Declaration
Objective-C
typedef NSInteger SCIAnnotationPointIndexSwift
struct SCIAnnotationPointIndex : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
Interface which defines the factory methods for some specified class.
Declaration
Objective-C
typedef id (^SCIFactory)(void)Swift
typealias SCIFactory = () -> Any?Return Value
New instance generated by this factory.
-
Interface which defines the function with one argument.
Declaration
Objective-C
typedef id (^SCIFunc1)(id)Swift
typealias SCIFunc1 = (Any?) -> Any?Parameters
argArgument for the function.
Return Value
Result of the function.
-
Defines the block for the
SCISmartPropertylistener. Called when new property value is set.Declaration
Objective-C
typedef void (^SCIPropertyChangeListener)(NSObject *_Nullable, NSObject *_Nullable)Swift
typealias SCIPropertyChangeListener = (NSObject?, NSObject?) -> VoidParameters
oldValueThe old value.
newValueThe new value.
-
Defines the block for the
SCISmartPropertyBoollistener. Called when new property value is set.Declaration
Objective-C
typedef void (^SCIBoolPropertyChangeListener)(BOOL, BOOL)Swift
typealias SCIBoolPropertyChangeListener = (Bool, Bool) -> VoidParameters
oldValueThe old value.
newValueThe new value.
-
Defines the block for the
SCISmartPropertyDoublelistener. Called when new property value is set.Declaration
Objective-C
typedef void (^SCIDoublePropertyChangeListener)(double, double)Swift
typealias SCIDoublePropertyChangeListener = (Double, Double) -> VoidParameters
oldValueThe old value.
newValueThe new value.
-
Defines the block for the
SCISmartPropertyFloatlistener. Called when new property value is set.Declaration
Objective-C
typedef void (^SCIFloatPropertyChangeListener)(float, float)Swift
typealias SCIFloatPropertyChangeListener = (Float, Float) -> VoidParameters
oldValueThe old value.
newValueThe new value.
-
Defines the block for the
SCISmartPropertyIntlistener. Called when new property value is set.Declaration
Objective-C
typedef void (^SCIIntPropertyChangeListener)(int, int)Swift
typealias SCIIntPropertyChangeListener = (Int32, Int32) -> VoidParameters
oldValueThe old value.
newValueThe new value.
-
Defines the block for the
SCISmartPropertyLonglistener. Called when new property value is set.Declaration
Objective-C
typedef void (^SCILongPropertyChangeListener)(long, long)Swift
typealias SCILongPropertyChangeListener = (Int, Int) -> VoidParameters
oldValueThe old value.
newValueThe new value.
-
Defines the listener interface which is called at the end of single render pass. Called at the end of the render pass.
Declaration
Objective-C
typedef void (^SCIPieChartSurfaceRenderedListener)(id<ISCIPieChartSurface>, SCIPieChartRenderedMessage *)Swift
typealias SCIPieChartSurfaceRenderedListener = ((any ISCIPieChartSurface)?, SCIPieChartRenderedMessage?) -> VoidParameters
surfaceThe surface which is rendered.
renderedMessageThe rendered message.
-
Defines the interface of pie segment listener. Called when pie segment changes.
Declaration
Objective-C
typedef void (^SCIPieSegmentChangeListener)(id<ISCIPieSegment> _Nonnull)Swift
typealias SCIPieSegmentChangeListener = (any ISCIPieSegment) -> VoidParameters
segmentThe changed pie or donut segment.
-
Interface which defines method that checks if argument meets some criteria.
Declaration
Objective-C
typedef BOOL (^SCIPredicate)(id)Swift
typealias SCIPredicate = (Any?) -> BoolParameters
itemItem to check.
Return Value
YES - if item meets specified criteria.
-
Defines a callback which allows to update series tooltip with latest information for specified
[x, y]coordinates on screen.Declaration
Objective-C
typedef void (^SCIUpdateSeriesTooltipAction)(id<ISCIView>, CGPoint)Swift
typealias SCIUpdateSeriesTooltipAction = ((any ISCIView)?, Int32) -> VoidParameters
seriesTooltipThe tooltip to update.
pointThe
[x, y]coordinates on screen. -
Defines the block for listening changes of
SCIWorldDimensionsand it’s inheritors. Called when observed world dimensions instance has changed.Declaration
Objective-C
typedef void (^SCIWorldDimensionsChangeObserver)(SCIVector3 *_Nonnull)Swift
typealias SCIWorldDimensionsChangeObserver = (SCIVector3) -> VoidParameters
worldDimensionsThe new world dimensions.
View on GitHub