iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIGenericMathFactory

@interface SCIGenericMathFactory : NSObject

Defines generic ISCIMath factory.

  • Provides the ISCIMath implementation for byte values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull byteMath;

    Swift

    class var byteMath: ISCIMath { get }
  • Provides the ISCIMath implementation for byte values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull shortMath;

    Swift

    class var shortMath: ISCIMath { get }
  • Provides the ISCIMath implementation for int values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull intMath;

    Swift

    class var intMath: ISCIMath { get }
  • Provides the ISCIMath implementation for long values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull longMath;

    Swift

    class var longMath: ISCIMath { get }
  • Provides the ISCIMath implementation for float values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull floatMath;

    Swift

    class var floatMath: ISCIMath { get }
  • Provides the ISCIMath implementation for double values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull doubleMath;

    Swift

    class var doubleMath: ISCIMath { get }
  • Provides the ISCIMath implementation for NSDate values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull dateMath;

    Swift

    class var dateMath: ISCIMath { get }
  • Tries to acquire ISCIMath for specified data type.

    Declaration

    Objective-C

    + (nonnull id<ISCIMath>)create:(SCIDataType)dataType;

    Swift

    class func create(_ dataType: SCIDataType) -> ISCIMath

    Parameters

    dataType

    The target data type.

    Return Value

    The new math instance for spesified SCIDataType.