Wednesday, September 10, 2025
HomeiOS DevelopmentDTCoreText 1.6.27 | Cocoanetics

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.

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 assist for underline colour
  • Added skill to move in a UIFontDescriptor for DTHTMLAttributedStringBuilder

On the primary change I believe there is likely to be some additional work crucial to really 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’t even construct for this platform any extra for just a few years, it was alright to make this modification.

The final change obtained carried out to cope with a problem the place Occasions New Roman can be used as an alternative of San Francisco UI.

Many due to the contributors of pull requests!



Additionally printed on Medium.


Tagged as:

Classes: Updates

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments