Skip to content

Releases: Cocoanetics/DTCoreText

Version 1.6.28

11 Sep 07:27
Compare
Choose a tag to compare
  • FIXED: Rename isNumeric to keep from clashing with FMCore
  • FIXED: Xcode 14.3 warnings
  • FIXED: Unit Tests for SPM
  • FIXED: C warnings about missing declarations
  • FIXED: Undefined symbol when mixing Objective-C++ Code
  • FIXED: Crash from calling lowercaseString on an array parsing CSS
  • FIXED: Build problems with Xcode 16 due to missing libarclite

Announcement: https://www.cocoanetics.com/2024/09/dtcoretext-1-6-28/

1.6.27

10 Sep 09:07
9d2d4d2
Compare
Choose a tag to compare
  • Changed DTTextAttachment to be a subclass of NSTextAttachment to avoid some crashes.
  • Remove the checking of tiled layer in DTAttributedTextContentView.
  • Removed unneeded constant causing a warning
  • Added support for underline color
  • Added ability to pass in a UIFontDescriptor for DTHTMLAttributedStringBuilder

Announcement: https://www.cocoanetics.com/2022/09/dtcoretext-1-6-27/

1.6.26

30 Jun 08:28
Compare
Choose a tag to compare
  • FIXED: Some weak support issues
  • FIXED: Some warnings
  • FIXED: Enabled bitcode
  • FIXED: Missing weak for DTAccessibilityElement and view proxy
  • FIXED: [Demo] About VC didn't set correct content inset
  • FIXED: Select correct fallbackFont with matching traits when multiple are available
  • FIXED: Check for default font
  • NEW: [Demo] Demonstrate dark/light mode adjustment on About Box

Announcement: https://www.cocoanetics.com/2021/06/dtcoretext-1-6-26/

1.6.25

09 Oct 09:55
Compare
Choose a tag to compare
  • FIXED: URLs containing CJK characters are not parsed
  • FIXED: iOS 13 openURL crash
  • FIXED: References to deprecated classes
  • FIXED: Cannot parse CSS with empty font-family
  • FIXED: iOS 14 warnings
  • NEW: Swift Package Manager Support

Announcement: https://www.cocoanetics.com/2020/08/dtcoretext-1-6-25/

1.6.24

24 Aug 15:51
Compare
Choose a tag to compare

tbd

Version 1.6.23

11 Sep 07:07
Compare
Choose a tag to compare

Version 1.6.22

11 Sep 06:23
Compare
Choose a tag to compare

Please read the announcement for a summary of changes to this maintenance release.

Version 1.6.21

28 Aug 13:57
Compare
Choose a tag to compare
  • ADDED: Support for

    text-indent

  • ADDED: Support width attribute in percent for text attachments
  • ADDED: Ability to abort HTML parsing
  • ADDED: Archiving
  • ADDED: Improved support for macOS
  • FIXED: Incorrect file name in import should be DTCSSStylesheet.h
  • FIXED: HTML generation with multi-line links
  • FIXED: Do not add 'Apple-converted-space' to attributed string when processing custom HTML attributes
  • FIXED: Ignore list style shorthands that are not strings
  • FIXED: Wrong attributed substring passed to generic custom view when using truncation
  • FIXED: Avoid unnecessary drawing of DTAttributedTextContentView if it is being deallocated
  • FIXED: Changing properties on DTCoreTextLayoutFrame would not update layout, resulting in incorrect sizing information being returned

Announcement: https://www.cocoanetics.com/2017/08/dtcoretext-1-6-21/

Version 1.6.20

23 Feb 18:12
Compare
Choose a tag to compare
  • FIXED: Crash when img tag had an invalid file URL to an animated GIF
  • FIXED: Superfluos import for framework-based umbrella header causing build issues
  • FIXED: Link will be nil when cleanString contains Chinese characters
  • FIXED: DTCoreTextLayoutFrame memory leak
  • FIXED: Certain truncations might cause a crash
  • FIXED: Skip unpaired bracket } & fix NSUInteger underflow in CSS parser
  • FIXED: Space to “apple converted space span” conversion for 2 spaces
  • FIXED: Text range for text block (for drawing background rectangle) might be computed incorrectly
  • FIXED: Crash with IFRAME src attribute had less than 2 characters
  • ADDED: Look for DTCoreTextFontOverrides.plist in the main bundle if its not found in the local bundle
  • ADDED: Expanded character decoding support in stringByReplacingHTMLEntities

Announcement: https://www.cocoanetics.com/2017/02/dtcoretext-1-6-20/

Version 1.6.19

11 Oct 17:13
Compare
Choose a tag to compare
  • FIXED: Incompatibility with iOS 7, using containsString
  • FIXED: Memory Leak in DTLazyImageView, using NSURLSession
  • FIXED: [Demo] When loading remote images the relayout needs to be done on next runloop
  • FIXED: Incorrect tabulator used for list items
  • FIXED: In default.css P tags had a -webkit-margin-before (which gets parsed since 1.6.18) causing superfluous extra space before paragraphs

Announcement: https://www.cocoanetics.com/2016/10/dtcoretext-1-6-19/