Tuesday, January 22, 2013

NS: Poor Man’s Namespacing for Objective-C

Jonathan Rentzsch:

I’ve been successfully using a nine-line preprocessor hack for a few years now that effectively works-around the problem.

Define your classes using his simple macro, and you can easily prefix their names at compile-time.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment