请选择 进入手机版 | 继续访问电脑版

技术控

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

[其他] DTCoreText 1.6.18

[复制链接]
不要給姐裝蒜 发表于 2016-10-1 07:11:24
117 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-2017 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表