DTCoreText 1.6.27 | Cocoanetics

It is a upkeep launch, after the earlier one was greater than a yr outdated. 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 colour
  • Added skill to go in a UIFontDescriptor for DTHTMLAttributedStringBuilder

On the primary change I feel there could be some additional work mandatory to really use the native sizing features accurately. DTCoreText was began at a time when there was no NSTextAttachment on iOS (earlier than iOS 7). Since we can not even construct for this platform any extra for a couple of years, it was alright to make this transformation.

The final change obtained carried out to cope with a problem the place Instances New Roman could be used as a substitute of San Francisco UI.

Many due to the contributors of pull requests!

Additionally printed on Medium.

Tagged as:

Classes: Updates

See also  ios - TextField in Listing - onMove results in "ID happens a number of occasions" warning

Leave a Reply