In Xcode, how can I find all caller functions of a specific function?
In Xcode, how can I find all caller functions of a specific function?
Xcode 10 upwards seems to have made it easier. Just Command Click on the function and you should see it in the drop down.
Use Find in Project as Text or as Symbol.
AFAIK, there's no equivalent to e.g. Call Hierarchy known from Eclipse or NetBeans.
Strangely the refactoring tool can detect all method calls but not the search.
So I simply use it to rename my method to a unique name (eg. reset to resetPlayer) and then use the new name in a regular textual search.
1.) Menu > Edit > Refactor... > Rename to unique name
2.) search for the new name