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:

  1. select button in ui editor
  2. hit ctrl+1 (this open “related files” drop down)
  3. navigate “sent actions” sub-menu, e.g. via s, enter
  4. 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.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -