【问题标题】:Is there a good HTML template engine in cocoa touch? [closed]cocoa touch 有没有好的 HTML 模板引擎? [关闭]
【发布时间】:2010-10-12 14:39:23
【问题描述】:

在我的 iphone 应用程序中,我想使用从模板生成的一些 html 填充 UIWebView。 有没有像 jinja 或 smarty 这样的 cocoa touch 好的开源模板引擎库?

【问题讨论】:

  • (在这里真的无济于事)但是您甚至尝试过用谷歌搜索吗? “objective c 模板引擎”会产生很多链接,甚至是模板引擎上的维基百科页面
  • 是的。结果太多=没有结果..我正在寻找最好的

标签: iphone cocoa-touch template-engine


【解决方案1】:

https://github.com/groue/GRMustache 是 {{ mustache }} 模板引擎的完整实现。

【讨论】:

    【解决方案2】:

    试试MGTemplateEngine

    【讨论】:

    • 谢谢。开始使用这个。我在这里唯一想念的是文件包含。我不能在另一个模板中包含一个模板。
    • @Rajani 可能会为此编写一个插件。从我读到的关于扩展引擎的内容来看,它看起来很简单。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-12-19
    • 2013-05-13
    • 1970-01-01
    • 2014-01-25
    • 2010-12-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多