hii every one
in xcode 4 where is the option to search a variable in whole project
Edit->Find->Find in Workspace...
Update: As pointed out in a comment, Find is a top-level menu in recent versions of Xcode, so it's now: just Find->Find in Workspace...