• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cleaning up a project from static/global variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cleaning up a project from static/global variables


  • Subject: Re: Cleaning up a project from static/global variables
  • From: "Gary L. Wade" <email@hidden>
  • Date: Sat, 21 Mar 2015 13:03:32 -0700
  • Thread-topic: Cleaning up a project from static/global variables

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@hidden> 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@hidden> wrote:
>>
>> On Mar 21, 2015, at 09:07 , Eyal Redler <email@hidden>
>>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@hidden)

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:

This email sent to email@hidden


References: 
 >Re: Cleaning up a project from static/global variables (From: Quincey Morris <email@hidden>)

  • Prev by Date: Scrolling while resizing a UITableView with UITextFields
  • Next by Date: Re: Cleaning up a project from static/global variables
  • Previous by thread: Re: Cleaning up a project from static/global variables
  • Next by thread: Re: Cleaning up a project from static/global variables
  • Index(es):
    • Date
    • Thread