Matt Gemmell

My new book CHANGER is out now!

An action-thriller novel — book 1 in the KESTREL series.

★★★★★ — Amazon

MGTemplateEngine for iPhone

development & source 1 min read

Hi folks, just a quick note that MGTemplateEngine (which you can read about here) can now be built for both Mac OS X 10.5 and later and also iPhone OS 2.0 or later. Many thanks to Phil Larson for his diff-patch of the trivial tweaks which were needed.

Note that for iPhone builds you should make sure you’re using the ICUTemplateMatcher (which is the default one used in the sample code anyway), and that you’ll need to link to the appropriate libicucore library. For iPhone, you’ll find that library at the following location:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ iPhoneOS2.1.sdk/usr/lib/libicucore.A.dylib

I’ve wrapped that path for display purposes here, so remove the newline if you’re pasting it anywhere.