• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa HTML template engine?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa HTML template engine?


  • Subject: Re: Cocoa HTML template engine?
  • From: Joel Levin <email@hidden>
  • Date: Wed, 4 Nov 2009 09:53:15 -0800

MGTemplateEngine should do the trick. I've used it with HTML and WebViews before and it works perfectly.

http://mattgemmell.com/2008/05/20/mgtemplateengine-templates-with-cocoa

Hope this helps.

- Joel

On Nov 4, 2009, at 9:15 AM, Jens Alfke wrote:

I want to populate a WebView with some nicely-styled HTML depicting an Objective-C data model. The nicest way to do this is with some sort of template engine, so I can tweak the output by editing HTML- like templates rather than messing with code. I've already written this twice before, but it's nontrivial and I don't have access to any of that source code anymore...

So, does anyone know of an open-source Cocoa library for HTML templates, or at least general macro substitution?

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
@apple.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cocoa HTML template engine? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Apple Remote Control Wrapper sends same button ID for all buttons.
  • Next by Date: Status Bar App menu won't work in 10.6, will in 10.5
  • Previous by thread: Re: Cocoa HTML template engine?
  • Next by thread: NSNumberFormatter for K, M, G, etc.
  • Index(es):
    • Date
    • Thread