
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIString
@protocol ISCIString
Definies the common protocol for NSString
and NSAttributedString
to be used throughout SciChart.
-
Gets the character contents of this
ISCIString
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull rawString;
-
Returns attributed string, and applies fontStyle to it if needed.
Declaration
Objective-C
- (nonnull NSAttributedString *)attributedStringWithStyle: (nonnull SCIFontStyle *)fontStyle;
Parameters
fontStyle
The fontStyle instance.
Return Value
AttributedString with applied fontStyle if needed.
-
Update a
UILabel
textDeclaration
Objective-C
- (void)updateUILabelText:(nonnull UILabel *)label;
Parameters
label
The UILabel to update.
-
Needed to be able to cast implementors to
ISCIString
onXamarin.iOS
side, since it’s impossible there.Declaration
Objective-C
- (nonnull id<ISCIString>)toSciString;