开发者

Does anyone have any experience using libraries to generate HTML from Objective C on the iPhone?

I need to generate some html from within an iPh开发者_如何转开发one application. Do you have any recommendations on templating libraries to use? A simple Google search is turning up surprisingly empty.


MGTemplateEngine seems to be a good example of what I'm talking about.

From the blog:

MGTemplateEngine is a native Cocoa system for generating text output based on templates and data. It’s a close cousin of systems like Smarty, FreeMarker, Django’s template language, and so on.

It’s ideal for Cocoa apps needing to generate text output using variable-substitution (with looping and/or conditional logic), including creating HTML pages (or for apps with WebKit-based UIs), generating invoices or other printable templates, mail merge, data export or any number of other things. It’s also great (in combination with WebKit) for letting your users create themes/styles for your application.

Are there others that people recommend?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜