• 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: Which files are unused?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Slow link times (From: Jens Alfke <email@hidden>)
 >Re: Slow link times (From: Chris Hanson <email@hidden>)
 >Which files are unused? (From: Owen Hartnett <email@hidden>)
 >Re: Which files are unused? (From: Ken Thomases <email@hidden>)
 >Re: Which files are unused? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Mixing C++ and Obj-C
  • Next by Date: Time limit creating GUI in Logic 9.1's 32-bit AU wrapper?
  • Previous by thread: Re: Which files are unused?
  • Next by thread: codesign CSSMERR_TP_NOT_TRUSTED error
  • Index(es):
    • Date
    • Thread