
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
Core API Reference
-
Provides a protocol that can be compared. The
See moreISCIComparable
is used for types that have inherent orter, such asNSNumber
andNSDate
.Declaration
Objective-C
@protocol ISCIComparable <NSObject>
Swift
protocol ISCIComparable : NSObjectProtocol
-
Enumeration of SciChart supported types.
See moreDeclaration
Objective-C
enum SCIDataType : NSUInteger {}
Swift
enum SCIDataType : UInt, @unchecked Sendable
-
Defines interface with methods which allows to attach/detach this instance to
See moreISCIServiceContainer
.Declaration
Objective-C
@protocol ISCIAttachable <NSObject>
Swift
protocol ISCIAttachable : NSObjectProtocol
-
Defines a methods which allow to clean current state of object.
See moreDeclaration
Objective-C
@protocol ISCICleanable <NSObject>
Swift
protocol ISCICleanable : NSObjectProtocol
-
Classes which comforms to
See moreISCIDisposable
protocol can be disposed.Declaration
Objective-C
@protocol ISCIDisposable <NSObject>
Swift
protocol ISCIDisposable : NSObjectProtocol
-
Defines base class for the disposable object.
See moreDeclaration
Objective-C
@interface SCIDisposableBase : NSObject <ISCIDisposable>
Swift
class SCIDisposableBase : NSObject, ISCIDisposable
-
Defines the base interface for a type which can be hit-tested.
See moreDeclaration
Objective-C
@protocol ISCIHitTestable <NSObject>
Swift
protocol ISCIHitTestable : NSObjectProtocol
-
Classes which implement
See moreISCIInvalidatableElement
can be invalidated (redrawn).Declaration
Objective-C
@protocol ISCIInvalidatableElement <NSObject>
Swift
protocol ISCIInvalidatableElement : NSObjectProtocol
-
Classes which implement
ISCISuspendable
can have updates suspended/resumed.Note
Useful for batch operations.Declaration
Objective-C
@protocol ISCISuspendable <NSObject>
Swift
protocol ISCISuspendable : NSObjectProtocol
-
Defines the interface to an
See moreSCIUpdateSuspender
, a disposable class which allows nested suspend/resume operations on anISCISuspendable
instance.Declaration
Objective-C
@protocol ISCIUpdateSuspender <ISCIDisposable>
Swift
protocol ISCIUpdateSuspender : ISCIDisposable
-
A disposable class which allows nested suspend/resume operations on an
See moreISCISuspendable
target.Declaration
Objective-C
@interface SCIUpdateSuspender : SCIDisposableBase <ISCIUpdateSuspender>
Swift
class SCIUpdateSuspender : SCIDisposableBase, ISCIUpdateSuspender
-
Defines protocol which allows to get access to some of the
See moreUIView
members.Declaration
Objective-C
@protocol ISCIView <ISCIHitTestable>
Swift
protocol ISCIView : ISCIHitTestable
-
Defines interface with methods which allows to add/remove views from this container.
See moreDeclaration
Objective-C
@protocol ISCIViewContainer <ISCIView, ISCICleanable>
Swift
protocol ISCIViewContainer : ISCICleanable, ISCIView
-
Classes which conforms to
See moreISCIServiceProvider
can get access to services provided by SciChart.Declaration
Objective-C
@protocol ISCIServiceProvider <NSObject>
Swift
protocol ISCIServiceProvider : NSObjectProtocol
-
Defines the interface to a ServiceContainer used throughout SciChart.
See moreDeclaration
Objective-C
@protocol ISCIServiceContainer <NSObject>
Swift
protocol ISCIServiceContainer : NSObjectProtocol
-
Provides a container with access to shared services through SciChart components.
Declaration
Objective-C
@interface SCIServiceContainer : NSObject <ISCIServiceContainer>
Swift
class SCIServiceContainer : NSObject, ISCIServiceContainer
-
Provides an attachable container with access to shared services through SciChart components.
Declaration
Objective-C
@interface SCIAttachableServiceContainer : SCIServiceContainer <ISCIAttachable>
Swift
class SCIAttachableServiceContainer : SCIServiceContainer, ISCIAttachable
-
Defines the protocol to a class which publishes motion events.
See moreDeclaration
Objective-C
@protocol ISCIPublishEvents <NSObject>
Swift
protocol ISCIPublishEvents : NSObjectProtocol
-
Defines the interface to a type which receives unified events.
See moreDeclaration
Objective-C
@protocol ISCIReceiveEvents <NSObject>
Swift
protocol ISCIReceiveEvents : NSObjectProtocol
-
Defines an event args, used by various classes within SciChart to process motion events.
See moreDeclaration
Objective-C
@interface SCIModifierEventArgs : NSObject <ISCICleanable>
Swift
class SCIModifierEventArgs : NSObject, ISCICleanable
-
Defines the protocol to the
SCIEventManager
, a helper class to propagate events.Declaration
Objective-C
@protocol ISCIEventManager
Swift
protocol ISCIEventManager
-
Defines the protocol to a logger facade. If you wish to receive debug log messages from SciChart, then set a logger instance via
-[SCIChartDebugLogger setLoggerFacade:]
.Warning
Please note, that logging will dramatically decrease performance, especially in a real-time scenario.Declaration
Objective-C
@protocol ISCIChartDebugLoggerFacade <NSObject>
Swift
protocol ISCIChartDebugLoggerFacade : NSObjectProtocol
-
Provides a debug logger which can be used to pipe debug messages from SciChart to your own code, by setting the
See moreISCIChartDebugLoggerFacade
via-[SCIChartDebugLogger setLoggerFacade:]
.Declaration
Objective-C
@interface SCIChartDebugLogger : NSObject
Swift
class SCIChartDebugLogger : NSObject
-
Defines the interface to a lightweight Event Aggregator used within SciChart for inter-component communication.
See moreDeclaration
Objective-C
@protocol ISCIEventAggregator <NSObject>
Swift
protocol ISCIEventAggregator : NSObjectProtocol
-
A message to be published/delivered by
See moreISCIEventAggregator
.Declaration
Objective-C
@protocol ISCIMessage <NSObject>
Swift
protocol ISCIMessage : NSObjectProtocol
-
Base class for messages published/delivered by
See moreISCIEventAggregator
.Declaration
Objective-C
@interface SCIMessageBase : NSObject <ISCIMessage>
Swift
class SCIMessageBase : NSObject, ISCIMessage
-
Base class for automatically logged Event Aggregator messages.
See moreDeclaration
Objective-C
@interface SCILoggedMessage : SCIMessageBase
Swift
class SCILoggedMessage : SCIMessageBase
-
Represents a message subscription.
See moreDeclaration
Objective-C
@protocol ISCIMessageSubscription <NSObject>
Swift
protocol ISCIMessageSubscription : NSObjectProtocol
-
Represents an active subscription to a message.
See moreDeclaration
Objective-C
@interface SCIMessageSubscriptionToken : SCIDisposableBase
Swift
class SCIMessageSubscriptionToken : SCIDisposableBase
-
Defines a class which contains changes of
See moreSCIObservableCollection
.Declaration
Objective-C
@interface SCICollectionChangedEventArgs<T> : NSObject <ISCICleanable> { NSMutableArray<T> *_newItems; NSMutableArray<T> *_oldItems; }
Swift
class SCICollectionChangedEventArgs<T> : NSObject, ISCICleanable where T : AnyObject
-
Defines the listener for
SCIObservableCollection
. Called whenSCIObservableCollection
changes.Declaration
Objective-C
typedef void (^SCICollectionObserver)(SCIObservableCollection *_Nonnull, SCICollectionChangedEventArgs *_Nonnull)
Parameters
collection
The collection which changed.
args
The
SCICollectionChangedEventArgs
instance with changes in collection. -
Defines a collection implementation which allows to get notification about adding, removing objects from it.
Note
T
is the type of underlying objects.Declaration
Objective-C
@interface SCIObservableCollection<__covariant T> : NSObject <NSFastEnumeration>
Swift
class SCIObservableCollection<T> : NSObject, NSFastEnumeration where T : AnyObject
-
Defines special read-only collection which projects items of one collection into another collection according to specified transform function.
Note
T
- is the type of items to project to.Note
TSource
- is the type of source items which need to be projected.Declaration
Objective-C
@interface SCIProjectionCollection<__covariant T, __covariant TSource> : SCIObservableCollection <T>
Swift
class SCIProjectionCollection<T, TSource> : SCIObservableCollection<T> where T : AnyObject, TSource : AnyObject
-
Defines a smart property class which can hold
See moreboolean
value and provides listener with old and new value.Declaration
Objective-C
@interface SCIObservableSmartPropertyBool : SCISmartPropertyBool
Swift
class SCIObservableSmartPropertyBool : SCISmartPropertyBool
-
Defines a smart property class which can hold
See moredouble
value and provides listener with old and new value.Declaration
Objective-C
@interface SCIObservableSmartPropertyDouble : SCISmartPropertyDouble
Swift
class SCIObservableSmartPropertyDouble : SCISmartPropertyDouble
-
Defines a smart property class which can hold
See morefloat
value and provides listener with old and new value.Declaration
Objective-C
@interface SCIObservableSmartPropertyFloat : SCISmartPropertyFloat
Swift
class SCIObservableSmartPropertyFloat : SCISmartPropertyFloat
-
Defines a smart property class which can hold
See moreint
value and provides listener with old and new value.Declaration
Objective-C
@interface SCIObservableSmartPropertyInt : SCISmartPropertyInt
Swift
class SCIObservableSmartPropertyInt : SCISmartPropertyInt
-
Defines a smart property class which can hold
See morelong
value and provides listener with old and new value.Declaration
Objective-C
@interface SCIObservableSmartPropertyLong : SCISmartPropertyLong
Swift
class SCIObservableSmartPropertyLong : SCISmartPropertyLong
-
Defines a simple object pool implementation which allows to reuse object instances.
See moreDeclaration
Objective-C
@interface SCIObjectPool<T> : NSObject <ISCICleanable>
Swift
class SCIObjectPool<T> : NSObject, ISCICleanable where T : AnyObject
-
Helper category with some color constants and helper methods to work with
See moreColor
.Declaration
Objective-C
@interface UIColor (Util)
-
Defines helper class for works with
See moreISCIComparable
.Declaration
Objective-C
@interface SCIComparableUtil : NSObject
Swift
class SCIComparableUtil : NSObject
-
Helper class for work with
See moreNSDate
valuesDeclaration
Objective-C
@interface SCIDateUtil : NSObject
Swift
class SCIDateUtil : NSObject
-
Helper class for work with date intervals, which are measured in seconds in Cocoa.
See moreDeclaration
Objective-C
@interface SCIDateIntervalUtil : NSObject
Swift
class SCIDateIntervalUtil : NSObject
-
Defines a smart property class which can hold any
See moreNSObject
instances.Declaration
Objective-C
@interface SCISmartProperty : NSObject
Swift
class SCISmartProperty : NSObject
-
Defines a smart property class which can hold
See moreboolean
value.Declaration
Objective-C
@interface SCISmartPropertyBool : NSObject
Swift
class SCISmartPropertyBool : NSObject
-
Defines a smart property class which can hold
See moredouble
value.Declaration
Objective-C
@interface SCISmartPropertyDouble : NSObject
Swift
class SCISmartPropertyDouble : NSObject
-
Defines a smart property class which can hold
See morefloat
value.Declaration
Objective-C
@interface SCISmartPropertyFloat : NSObject
Swift
class SCISmartPropertyFloat : NSObject
-
Defines a smart property class which can hold
See moreint
value.Declaration
Objective-C
@interface SCISmartPropertyInt : NSObject
Swift
class SCISmartPropertyInt : NSObject
-
Defines a smart property class which can hold
See morelong
value.Declaration
Objective-C
@interface SCISmartPropertyLong : NSObject
Swift
class SCISmartPropertyLong : NSObject
-
Defines the base protocol for values.
See moreDeclaration
Objective-C
@protocol ISCIValues <ISCICleanable>
Swift
protocol ISCIValues : ISCICleanable
-
Defines a byte values collection.
See moreDeclaration
Objective-C
@interface SCIBoolValues : SCIDisposableBase <ISCIValues>
Swift
class SCIBoolValues : SCIDisposableBase, ISCIValues
-
Defines a byte values collection.
See moreDeclaration
Objective-C
@interface SCIByteValues : SCIDisposableBase <ISCIValues>
Swift
class SCIByteValues : SCIDisposableBase, ISCIValues
-
Defines a NSDate values collection.
See moreDeclaration
Objective-C
@interface SCIDateValues : SCIDisposableBase <ISCIValues>
Swift
class SCIDateValues : SCIDisposableBase, ISCIValues
-
Defines a double values collection
See moreDeclaration
Objective-C
@interface SCIDoubleValues : SCIDisposableBase <ISCIValues>
Swift
class SCIDoubleValues : SCIDisposableBase, ISCIValues
-
Defines a float values collection.
See moreDeclaration
Objective-C
@interface SCIFloatValues : SCIDisposableBase <ISCIValues>
Swift
class SCIFloatValues : SCIDisposableBase, ISCIValues
-
Defines an int values collection.
See moreDeclaration
Objective-C
@interface SCIIntegerValues : SCIDisposableBase <ISCIValues>
Swift
class SCIIntegerValues : SCIDisposableBase, ISCIValues
-
Defines a long long values collection.
See moreDeclaration
Objective-C
@interface SCILongValues : SCIDisposableBase <ISCIValues>
Swift
class SCILongValues : SCIDisposableBase, ISCIValues
-
Defines a short values collection.
See moreDeclaration
Objective-C
@interface SCIShortValues : SCIDisposableBase <ISCIValues>
Swift
class SCIShortValues : SCIDisposableBase, ISCIValues
-
Defines a byte values collection
See moreDeclaration
Objective-C
@interface SCIUnsignedByteValues : SCIDisposableBase <ISCIValues>
Swift
class SCIUnsignedByteValues : SCIDisposableBase, ISCIValues
-
Defines an unsigned int values collection.
See moreDeclaration
Objective-C
@interface SCIUnsignedIntegerValues : SCIDisposableBase <ISCIValues>
Swift
class SCIUnsignedIntegerValues : SCIDisposableBase, ISCIValues
-
Defines a unsigned long long values collection.
See moreDeclaration
Objective-C
@interface SCIUnsignedLongValues : SCIDisposableBase <ISCIValues>
Swift
class SCIUnsignedLongValues : SCIDisposableBase, ISCIValues
-
Defines a unsigned short values collection.
See moreDeclaration
Objective-C
@interface SCIUnsignedShortValues : SCIDisposableBase <ISCIValues>
Swift
class SCIUnsignedShortValues : SCIDisposableBase, ISCIValues