Since Xcode 6 and the introduction of modules, there is no need for precompiled headers anymore. I have always been using a custom logging method which also logs the file, method and line number it was on. This method was defined in the precompiled header. Where should I define the method now we shouldn't use them anymore, without me having to define it in a bunch of files?
#define YBLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)