DTCoreText 1.6.27 | Cocoanetics

[ad_1]

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.

Modifications

  • 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 capacity to cross in a UIFontDescriptor for DTHTMLAttributedStringBuilder

On the primary change I believe there is likely to be some additional work crucial to truly use the native sizing capabilities appropriately. 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 number of years, it was alright to make this transformation.

The final change obtained carried out to take care of a difficulty the place Instances New Roman could be used as an alternative of San Francisco UI.

Many due to the contributors of pull requests!



Additionally revealed on Medium.


Tagged as:

Classes: Updates

[ad_2]

Leave a Reply