Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any Case-Insensitive file search functions ?



On Wed, 31 Jan 2007 17:25:31, KevinGu <email@hidden> wrote:

> Is there any easy to use "Case-Insensitive" file search functions?
> e.g. I want to search files with a certain extension in a certain
> folder such as my application resource folder.
> The extension could be "abc" or "Abc" or "ABC" ...

Why?

FSCatalogSearch and Spotlight are not very appropriate here;
I'd just iterate the folder with FSGetCatalogInfoBulk
and manually filter the results.

> I use CFBundleCopyResourceURLsOfType at first, but it is Case-Sensitive.

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Any Case-Insensitive file search functions ? (From: KevinGu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.