ios - Jump To Definition in Xcode -


let's in target, have 4 classes: class1, class2, class3, class4. have same public method (declared in .h files).

in class1.m file, if right click on method name in line below , chose "jump definiton".

[self methodname]; 

xcode jumps method in other randomly chosen class (class2.m , class3.m, class4.m). did not jump method in same class.

any explanations why behaved way?

edit:

  1. it happened if cmd + click.

  2. and same ...@selector(methodname)...

i think doesn't have enough context know should go.

have tried cmd + click method want jump to? if there multiple possibilities, should present pop-up list choose from.

edit: when same thing occurs me, resort cmd+shift+f , enter method name search term , go there. not sure else suggest.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -