disclaimer: I have not tried these. Totally pulling these from a quick googled-refresher of macros.
#define withZip someoneCouldntComeUpWithAShorterNameWithZipcode
#define dictWith dictionaryWithObjectsAndKeys
or
#define dictWith NSDictionary dictionaryWithObjectsAndKeys
so you can [dictWith: key, value, key, value]
:) I forget, does XCode intelligently handle macros? Or does using a macro destroy its helpful features, like code completion?I actually have a "hashWith" utility function for my .NET code. Saves me a ton of ugh-induced headaches.