Q:

Macro for NSLocalizedString

All my calls of NSLocalizedString have nil as second param, because i don't use any comments. But i hate to repeat myself. Now i'm asking myself if it's ok to define a macro like LSSTRING(str) that calls NSLocalizedString(str, nil), and if so how?

A:

You can. Add the following macro to your pre-compiled header. ie., in {ProjectName}-Prefix.pch file
#define LSSTRING(str) NSLocalizedString(str, nil)

