Closed valenwalker closed 3 years ago
TTGTextTagContent
is just a abstract class. It has two subclass StringContent And AttributedStringContent. You should convert the tag.content
to suitable class and access its value.
Thanks! its working now
Converting will look like
let tagtext : TTGTextTagStringContent = tag.content as! TTGTextTagStringContent
i can not access the text property using swift.
tag.content.text = Value of type 'TTGTextTagContent' has no member 'text'