Skip to content

@odrobnik odrobnik released this Oct 9, 2020 · 11 commits to develop since this release

  • 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/

Assets 2

@odrobnik odrobnik released this Aug 24, 2020 · 68 commits to develop since this release

tbd

Assets 2

@odrobnik odrobnik released this Sep 11, 2019 · 85 commits to develop since this release

tbd

Assets 2

@odrobnik odrobnik released this Sep 11, 2019 · 95 commits to develop since this release

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

Assets 2

@odrobnik odrobnik released this Aug 28, 2017 · 104 commits to master since this release

  • 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/

Assets 2

@odrobnik odrobnik released this Feb 23, 2017 · 169 commits to develop since this release

  • 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/

Assets 2

@odrobnik odrobnik released this Oct 11, 2016 · 200 commits to develop since this release

  • 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/

Assets 2

@odrobnik odrobnik released this Sep 30, 2016 · 210 commits to develop since this release

  • ADDED: tvOS Support
  • ADDED: Property to better support display remote images with DTAttributedTextCell
  • ADDED: Extension sub spec (which removes some things that cannot be used in Extensions)
  • ADDED: Parse margin-top as paragraphSpacingBefore
  • ADDED: Support for list style with roman numerals
  • ADDED: 10% performance increase parsing CSS styles that only have a single part
  • ADDED: Usage of custom font name via CSS in programming guide
  • FIXED: Potential crash on iOS 10 from more strict CoreText functions
  • FIXED: Crash when list-style-image was not a string
  • FIXED: Crash when comparing lines and one of them was nil
  • FIXED: Several Xcode 8 build warnings
  • FIXED: All deprecation warnings related to CoreText text alignment constants
  • FIXED: NSURLConnection deprecation by using NSURLSessionDataTask instead
  • FIXED: Deprecation warnings related to percentEncoding, replaced with HTML entity encoding
  • FIXED: Several Carthage build problems

Announcement: https://www.cocoanetics.com/2016/09/dtcoretext-1-6-18/

Assets 2

@odrobnik odrobnik released this Jan 8, 2016 · 271 commits to develop since this release

Changes

  • ADDED: Line truncation
  • ADDED: Minimum and maximum line heights
  • ADDED: Ability to change paragraph tag name
  • ADDED: Support for use in app extension
  • FIXED: Build error for integrating via sub-project
  • FIXED: CTLineUtils compiler warnings
  • FIXED: Setup Guide for sub-project integration
  • FIXED: Missing paragraph style for text attachments
  • CHANGED: Updated to DTFoundation 1.6.9

Annoucement: https://www.cocoanetics.com/2015/12/dtcoretext-1-6-17/

Assets 2

@odrobnik odrobnik released this Jul 7, 2015 · 319 commits to develop since this release

  • FIXED: Compatibility with CocoaPods 0.36 and frameworks
  • FIXED: Missing super calls in -awakeFromNib
  • FIXED: Dependency problems with DTWeakSupport.h
  • FIXED: Problem with "Cursive" tag and a Custom Font Cursive
  • FIXED: CGFloat values were used as bool values within if statements
  • FIXED: Additional CGFloat build issue on xCode 7
  • FIXED: Wrong foreground color attribute used for appending NL
  • FIXED: Xcode warning for unused expression result
  • FIXED: CGFloat build issue on xCode 7
  • ADDED: Honour the value of NSBaselineOffsetAttributeName
  • ADDED: DTCoreText.framework for iOS
  • ADDED: Improve AutoLayout in DTAttributedTextContentView
  • ADDED: DTDocumentPreserveTrailingSpaces boolean option

Announcement: https://www.cocoanetics.com/2015/07/dtcoretext-1-6-16/

Assets 2
You can’t perform that action at this time.