Class YMKSpannableString

A string that supports spans in it.

Class Methods

Properties

spans

The spans in stored text.

text

The text of the spannable string.

Method Detail

+spannableStringWithText:spans:

+ (nonnull YMKSpannableString *)spannableStringWithText:(nonnull NSString *)text
                                                  spans:(nonnull NSArray< YMKSpannableStringSpan * > *)spans 

Property Detail

spans

(assign, readonly) NSArray< YMKSpannableStringSpan * > * spans

The spans in stored text.

text

(assign, readonly) NSString * text

The text of the spannable string.