• 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
Filename Globbing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filename Globbing


  • Subject: Filename Globbing
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Sun, 2 Dec 2001 21:19:23 -0500

Is there an easy way, from Cocoa, to perform filename globbing on a string. For instance, If I pass an NSString containing @"/System/Library/Frameworks/*.framework/Headers/", I would get back an NSArray containing paths to all of the Header directories in the system frameworks. I't really rather avoid the overhead of starting up a shell, and parsing the output, or the added complexity of rolling my own, but it'
s beginning to look like I'll have to.

--
Clark S. Cox, III
email@hidden
http://www.whereismyhead.com/clark/


  • Prev by Date: ANN: Pacifist 1.0 Beta 1 Released
  • Next by Date: [Fwd: Re: IB Disappears]
  • Previous by thread: Re: ANN: Pacifist 1.0 Beta 1 Released
  • Next by thread: [Fwd: Re: IB Disappears]
  • Index(es):
    • Date
    • Thread