简体   繁体   English

将 DTCoreText 与 xcode 项目集成

[英]Integrate DTCoreText with xcode project

I wanted to convert from html to NSAttributedString, and i found away solving this using DTCoreText here https://github.com/Coco.netics/DTCoreText我想从 html 转换为 NSAttributedString,我发现在这里使用 DTCoreText 解决了这个问题https://github.com/Coco.netics/DTCoreText

i followed the instruction but still getting errors, any help for how to integrate it with an existing xcode project我按照说明进行操作但仍然出现错误,如何将其与现有 xcode 项目集成的任何帮助

my xcode version is 4.3.2我的 xcode 版本是 4.3.2

and the project is uploaded here: http://www.mediafire.com/?0o281nv3d04s5sx项目上传到这里: http://www.mediafire.com/?0o281nv3d04s5sx

and thanks in advance并提前致谢

Found your problem.发现你的问题。 The framework ImageIO.framework is missing from your target.您的目标中缺少框架 ImageIO.framework。 Just add it (by selecting your target, 'build phases' -> 'link binary with libraries' -> '+' button).只需添加它(通过选择您的目标,'build phases' -> 'link binary with libraries' -> '+' 按钮)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM