I am working on a medium-size iOS code base and am not the primary developer. I often find myself in a position where I run the app in the iOS simulator, see a view I know I would like to edit or use (e.g. a textview whose text I would like to get), but then don't have a good way of tracing said view back to a file in the code base. My question is, are there any good ways (either deterministically or heuristically) to "back trace" from a view one sees in the running instantiation of the app in the iOS simulator back to the code file/interface builder file that actually defines/contains said view?
For example, I see a textview in the simulator whose text I'd like to set differently, and I want a way to find the .xib/storyboard the textview is defined in and/or any IBOutlet's to it. I have tried using Reveal App, which seems to give some information about the app's overall view structure and view classes, but I haven't been able to reference this back to a code and/or interface builder file. Reveal App does show the memory address of views - perhaps there is a way to use this in combination with lldb to figure out which file the view came from?