Skip to content

Releases: Cocoanetics/DTCoreText

Version 1.6.18

30 Sep 14:11
Compare
Choose a tag to compare
  • 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/

Version 1.6.17

08 Jan 14:09
Compare
Choose a tag to compare

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/

Version 1.6.16

07 Jul 11:10
Compare
Choose a tag to compare
  • 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/

Version 1.6.15

19 Feb 14:06
Compare
Choose a tag to compare
  • FIXED: NULL dereference when CTLineCreateTruncatedLine fails
  • FIXED: UIColor would be set as CTForegroundColor in some cases, causing problems
  • FIXED: Possible exception 'Auto Layout still required after executing -layoutSubviews.'
  • CHANGED: Use defaultParagraphStyle rather than assert crash for DTUseiOS6Attributes option
  • CHANGED: DTFoundation updated to 1.7.5 (few minor fixes for DTHTMLParser)

Annoucement: https://www.cocoanetics.com/2015/02/dtcoretext-1-6-15/

Version 1.6.14

17 Oct 18:45
Compare
Choose a tag to compare
  • FIXED: Parsing 2x Image in data URL causes it to double in size
  • FIXED: In Demo app, image elements seem to block scrolling in iOS 8
  • FIXED: Missing Helvetica Neue Italic font in iOS 7.0.x would cause crash
  • FIXED: Potential memory leak in -newMatchingFont
  • FIXED: Potential crash from iOS bug, calling -accessibilityElementAtIndex: with non-existing index
  • ADDED: Override -coretext-fontname to use direct "PostScript" names for fonts

Announcement: http://www.cocoanetics.com/2014/10/dtcoretext-1-6-14/

Version 1.6.13

07 Jul 09:42
Compare
Choose a tag to compare
  • FIXED: Traditional margin-* style value following -webkit-margin-* reset margin values to 0
  • FIXED: iOS 8 crash resulting from Apple making CTRunGetPositionsPtr lazy
  • FIXED: HTML element with text attachment and display:none would emit extra object placeholder
  • FIXED: Child element with display:none would not be ignored when determining if parent needs to be output
  • FIXED: Animated GIF only showing first frame
  • FIXED: DTHTMLWriter does not output attachments
  • FIXED: Some build warnings from Xcode 6
  • CHANGED: Migrated unit testing to XCTest
  • CHANGED: DTFoundation updated to 1.7.1 (for animated GIF support)

Announcement: http://www.cocoanetics.com/2014/07/dtcoretext-1-6-13/

Version 1.6.12

04 Jun 13:59
Compare
Choose a tag to compare
  • FIXED: Crash parsing background shorthand containing color
  • FIXED: Broken unit test for uncompressing background shorthand
  • FIXED: DTAttributeLabel doesn't use delegate methods to render text from truncationString param
  • FIXED: Links parsed from HTML are not recognized in UITextView (using NS-style attributes)
  • FIXED: Memory leak in -CGColor method on MacOSX target.
  • FIXED: lineHeightMultiple not being transferred to NSParagraphStyle
  • FIXED: Warnings related to disparities between properties and ivars
  • FIXED: Build issues because submodule did not include 32-bit slice
  • FIXED: Crash on iOS 5 due to unguarded selector calling
  • FIXED: Warning about deprecated methods using deployment target >= iOS 7
  • ADDED: Ability to specify default font face name
  • CHANGED: Updated DTFoundation to 1.7.0

Announcement: http://www.cocoanetics.com/2014/06/dtcoretext-1-6-12/

Version 1.6.11

18 Mar 12:53
Compare
Choose a tag to compare

FIXED: Crash on 64-bit CPU if an element had no foreground color
FIXED: CGColor sanity check randomly fails
FIXED: Implicit conversion warnings in DTHTMLWriter
FIXED: Analyzer warnings in DTHTMLWriter
FIXED: Compatibility of NSColor for deployment targets prior to OS X 10.8
FIXED: Various documentation fixes
CHANGED: Manual drawing of underlines removed as of iOS 7
CHANGED: Completeness of AppleDoc comments now part of unit tests
ADDED: Options parameter to setting HTML string convenience method on DTAttributedTextCell
ADDED: Support for CSS "background" shorthand
ADDED: Screenshot button to Demo app
ADDED: NSCoding support for DTTextAttachment, DTTextBlock and DTCSSListStyle

Announcement: http://www.cocoanetics.com/2014/03/dtcoretext-1-6-11/

Version 1.6.10

18 Mar 12:38
Compare
Choose a tag to compare
  • FIXED: 64-bit macros for creating an NSNumber from CGFloat
  • FIXED: Path in podspec prepare_command breaks if CDPATH defined in shell
  • DOCS: Added explanation for lazy image loading to programming guide
  • ADDED: Support for border-color, -radius, -width for use with TTAttributedLabel
  • CHANGED: Updated DTFoundation to 1.6.1

Announcement: http://www.cocoanetics.com/2013/12/dtcoretext-1-6-10/

Version 1.6.9

04 Jul 09:32
Compare
Choose a tag to compare
  • FIXED: Repackage headers needed from DTFoundation to static universal and Mac frameworks
  • FIXED: Duplicate symbol when using DTCoreText together with DTTransition pod
  • FIXED: Compiler warnings
  • FIXED: iOS 6-style attributes would not work on iOS 6 simulator
  • FIXED: Renamed instances of "class" to avoid conflict with C++ reserved word
  • FIXED: Method to set fallback font family would allow setting of invalid font family name
  • FIXED: Crash in DTAttributedTextContentView related to text box range finding
  • ADDED: BundleLoaderDummy to allow unit-testing code dealing UIFont
  • ADDED: arm64 support
  • ADDED: ability to determine attributed string size with unknown width
  • CHANGED: Updated DTFoundation requirement to 1.6.0

Announcement: http://www.cocoanetics.com/2013/11/dtcoretext-1-6-9/

NOTE: The CGFLOAT_OPEN_HEIGHT constant has been renamed to CGFLOAT_HEIGHT_UNKNOWN.