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?
You can. Add the following macro to your pre-compiled header. ie., in {ProjectName}-Prefix.pch file
#define LSSTRING(str) NSLocalizedString(str, nil)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With