Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do i search for symbols in xcode 4?

In XCode 3 I was able to right click an Objective-C method name and choose to search for that method's symbol, so that I could see where it was defined and also where it was called in my codebase. After upgrading to XCode 4, i can no longer do this. Symbol search is also not available in the find options. Is it possible to easily find where a method is used in addition to where a method is defined?

like image 297
Kevlar Avatar asked Mar 14 '11 18:03

Kevlar


1 Answers

You can at least use the Open Quickly dialog CMD+SHIFT+O to easily open the symbol definition. This one lets you type in something like initWithArg:andSomeOtherArg: which I find easier than creating regular expressions for every method. But still I am also missing the Xcode 3 feature that allowed for searching for code that accesses a symbol.

like image 176
Oliver Avatar answered Sep 22 '22 23:09

Oliver