In a directory I have:

.DS_Store
._Filename


These name are in a array that is filtered using this predicate:

notBeginsWithDot = [NSPredicate predicateWithFormat:@"NOT SELF BEGINSWITH %@", @"."];

childrenArray = [childrenArray filteredArrayUsingPredicate:notBeginsWithDot];


childrenArray now contains ._Filename but not .DS_Store.

This seems incorrect since both start with '."

Comments please.

db
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to