Relative Content

Tag Archive for iosswiftuikitmarkdown

Custom styling in NSMutableAttributedString with markdown

I’m trying to use the markdown support in iOS with NSMutableAttributedString and UITextView. It works in general, but when I call text.setAttributes(attributes, range: fullRange) to apply some custom styling, the markdown information gets lost and everything is displayed in plain text.

Custom styling in NSMutableAttributedString with markdown

I’m trying to use the markdown support in iOS with NSMutableAttributedString and UITextView. It works in general, but when I call text.setAttributes(attributes, range: fullRange) to apply some custom styling, the markdown information gets lost and everything is displayed in plain text.