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 RSS · Twitter

Leave a Comment