cocoa - Is there a fast way to see if a method is wired/bound from any xib file in my project ? -


is there fast way see if method wired/bound xib file in project ?

in other terms, need know if can rid of such method or used in interface builder.

thanks

i not think xcode has filter bound ibactions. guess we're left 2 possible solutions:

  1. visually identify bound methods (here did search ibaction. bound actions denoted filled circle, while unbound actions empty circles). although method works, it's not useful when have lot of connections going on. enter image description here

  2. parse xml produced interface builder. if take @ xib / storyboard files, see there <connections> tags <action> children similar this: <action selector="fingeroff:" destination="ars-ip-845" eventtype="touchdragoutside" id="1nx-xz-k1i"/>, selector method signature. guess parse xmls , make list of bound methods (also nice idea app!)

if though has better way dealing problem, please share!


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -