MapKit Mobile SDK

MMKSpannableString

class MMKSpannableString : NSObject

A string that supports spans in it.

Summary

Class methods

 init(text: String, spans: [MMKSpannableStringSpan])

Properties

var text: String { get }
The text of the spannable string

var spans: [MMKSpannableStringSpan] { get }
The spans in stored text

Class methods

init(text:spans:)

 init(text: String, spans: [MMKSpannableStringSpan])


Properties

text

var text: String { get }

The text of the spannable string.


spans

var spans: [MMKSpannableStringSpan] { get }

The spans in stored text.