interface builder - Xcode quickly jump to Action associated with a Control -
is there quick way jump action associated control.
say there button on xib file has associated action. way find code associated rather tedious. there short cut can jump code.
i spoiled visual studio - double click on button , takes it's handler
the fastest way know @ least source file in action resides following:
- select button in ui editor
- hit ctrl+1 (this open “related files” drop down)
- navigate “sent actions” sub-menu, e.g. via s, enter
- select relevant class (i think in case there can one, hit enter again)
once in class, action should easy find. if that's not case, because source file big, type ctrl+6 open “document items” drop down , start typing name of action. once see action, select via keyboard or mouse.
if don't know name of action, have before navigating class, e.g. right clicking on button.