I'd like to get some information on who called a particular method. Namely, if possible, getting the line number and file name of the method that made the call. Akin to FILE and LINE, except one level down in the stack. This is possible in high-level languages, but any way to do it in Objective-C?
- (void)myMethod {
NSLog(@"I was called by file %@, line #%i", callingFile, callingLine);
}