技术控

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

[其他] DTCoreText 1.6.18

[复制链接]
不要給姐裝蒜 发表于 2016-10-1 07:11:24
106 1

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
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.
友荐云推荐




上一篇:一份iOS面试题难道90%iOS程序员
下一篇:Stuff The Internet Says On Scalability For September 30th, 2016
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

陈凤 发表于 2016-10-1 10:06:08
不要給姐裝蒜有品位!
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表