• 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: Windows _findfirst , _findnext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows _findfirst , _findnext


  • Subject: Re: Windows _findfirst , _findnext
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 05 Oct 2011 14:07:54 -0700

On Wed, Oct 5, 2011 at 1:31 PM, koko <email@hidden> wrote:
> Is there a best way to get thins done with NSFileManager?

NSFileManager has no concept of file extension patterns like Windows
does. If you really need to find all files that have the extension
".exe", then you can do a simple loop and comparison. If what you
really want to do is find all files of a certain type, you should use
UTIs instead.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Windows _findfirst , _findnext
      • From: Lee Ann Rucker <email@hidden>
    • Re: Windows _findfirst , _findnext
      • From: Franklin Marmon <email@hidden>
References: 
 >Windows _findfirst , _findnext (From: koko <email@hidden>)

  • Prev by Date: Re: Windows _findfirst , _findnext
  • Next by Date: Re: Windows _findfirst , _findnext
  • Previous by thread: Re: Windows _findfirst , _findnext
  • Next by thread: Re: Windows _findfirst , _findnext
  • Index(es):
    • Date
    • Thread