Re: Which files are unused?
Re: Which files are unused?
- Subject: Re: Which files are unused?
- From: Ken Thomases <email@hidden>
- Date: Sat, 16 Jan 2010 14:22:04 -0600
On Jan 16, 2010, at 12:12 PM, Chris Espinosa wrote:
> On Jan 16, 2010, at 7:53 AM, Ken Thomases wrote:
>
>>> After several changes of graphics and other changes, I find there's a few files in my subversion directory I want to delete, but I'm not quite sure that they're not being used in some obscure .xib file somewhere. Is there a tool that will search through .xib files for a particular file name to see if it's used?
>>
>> XIB files, being XML, are text. You can grep them. (If you prefer, you can grep the output of ibtool.)
>
> Also, Xcode's project indexer does index the contents of xib files for program symbols (not text). So if you search for the class name with a Symbol search, if there is a nib or xib that has a connection to that class, it'll show up as a search result.
I was aware of that, but it doesn't work for file names. (I tested before replying.)
For example, if you have an NSImageView in the XIB and its image name is set, a search (Symbol or Textual) for the name won't find it there.
Cheers,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden