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:
it happened if cmd + click.
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
Post a Comment