技术控

    今日:0| 主题:63445
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] DTCoreText 1.6.18

[复制链接]
不要給姐裝蒜 发表于 2016-10-1 07:11:24
130 1
Since the prior release of DTCoreText,9 months ago, a few issues became apparent with Xcode 8. Some people contributed cool stuff like support for use in app extensions as well as tvOS support.  
  BSA Banner

  Changes

  
       
  • 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  
  Thank you for your contributions, Philipp Schmid, David X. Lau, James Hurst, Brandon Tram, Alex WU, Kai Maschke,  Ryan Maxwell, Ian Ynda-Hummel, Florian Friedrich. (I can only thank people who have a proper name set up on GitHub)
  One particular annoyance resulted from a    bug in CocoaPodswhere the prepare_command of the podspec is not being executed. I am using this to generate a C file from the default CSS file and if it is not run, the linting of the spec fails. So as an immediate workaround I added a copy of this file to the repo.  
  The most work I needed to do on DTLazyImageView which required replacing the prior    NSURLConnectionlogic with    NSURLSessionDataTaskwhile preserving the progressive download capability.  
  The update is    tagged on GitHub(for Carthage) and available on Cocoapods.  
  Also published on    Medium.
陈凤 发表于 2016-10-1 10:06:08
不要給姐裝蒜有品位!
回复 支持 反对

使用道具 举报

我要投稿

回页顶回复上一篇下一篇回列表
手机版/c.CoLaBug.com ( 粤ICP备05003221号 | 粤公网安备 44010402000842号 )

© 2001-2017 Comsenz Inc.

返回顶部 返回列表