DTCoreText 1.6.27 | Cocoanetics


It is a upkeep launch, after the earlier one was greater than a 12 months previous. There have been a pair open pull requests which I merged.


  • Modified DTTextAttachment to be a subclass of NSTextAttachment to keep away from some crashes.
  • Take away the checking of tiled layer in DTAttributedTextContentView.
  • Eliminated unneeded fixed inflicting a warning
  • Added help for underline coloration
  • Added potential to cross in a UIFontDescriptor for DTHTMLAttributedStringBuilder

On the primary change I feel there is perhaps some additional work obligatory to truly use the native sizing capabilities accurately. DTCoreText was began at a time when there was no NSTextAttachment on iOS (earlier than iOS 7). Since we can’t even construct for this platform any extra for just a few years, it was alright to make this variation.

The final change obtained applied to take care of a problem the place Occasions New Roman can be used as an alternative of San Francisco UI.

Many because of the contributors of pull requests!

Additionally printed on Medium.

Tagged as:

Classes: Updates


Leave a Reply

Your email address will not be published. Required fields are marked *