I have a large Xcode
project with only inline documentations, written by someone who has a very different coding style as I am used to.
My Question now is, if someone could give me something like a guideline on how to read and understand unknown Xcode projects as fast as possible?
What I tried:
First I ran the app. Then I tried to get threw the project method calls one by one starting (in the case of iOS) from the application:didFinishLaunchingWithOptions:
delegate method. But soon I realized, that this will consume too much time. So I tried to use some tools:
I generated an UML graph with a tool called Graffle
. It generated a flat graph with all Xcode files in it very similar to what they look like in the project navigator - which didn't help at all.
Then I tried to find a call-graph tool which hopefully illustrates all interactions of the written methods. Unfortunately I only found tools for other platforms. Then I started to use Instruments Profiler
but never got to a point where it really helped me (maybe also because I didn't understand how to use it right for my approach).
So again, I would like to know how you specialists work yourself (step by step) threw an objective-c code you didn't write? Any links, book recommendations, sample test-codes, or others are greatly welcome as well. Thanks.