If you’re wanting to look at all the globals in your project in one place,
go to the Symbol Navigator and make sure the Class/Protocol filter is
turned off and the Project-Defined filter is turned on.  This will give
you easy access to your project-defined globals.
--
Gary L. Wade
http://www.garywade.com/

On 3/21/2015, 12:48 PM, "Eyal Redler" <[email protected]> wrote:


>I can do a search for "static" but some are plain globals: variables
>defined outside of any method.
>
>Eyal
>
>
>
>> On Mar 21, 2015, at 6:34 PM, Quincey Morris
>><[email protected]> wrote:
>> 
>> On Mar 21, 2015, at 09:07 , Eyal Redler <[email protected]>
>>wrote:
>>> 
>>> I have a rather large ObjC and C project that I want to clean-up in
>>>order to make it re-enterent/thread safe.
>>> There are all sorts of issues I need to deal with here but one of the
>>>most troubling is the rather liberal use of static and global variables
>>>through the project. Fixing the issues is not a problem but I need a
>>>way to be able to find these in all the files (other then actually
>>>scanning each file manually). Are there any tools that can help me do
>>>this?
>> 
>> An Xcode project? Why can’t you use global find (Command-3)? And if
>>searching textually is too crude, there are options near the top of the
>>global find panel that allow you to search symbolically.
>> 
>



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to