On Tue, Jul 13, 2010 at 3:44 PM, Murat Konar <mu...@pixar.com> wrote: > WTF? > > For those interested, you can download my test project from > <http://bugs.muratnkonar.com/FileManagerBug.zip>
If you NSLog(@"class = %@", [attrs class]) you'll see what the problem is! The NSFileManager function doesn't return an NSDictionary... just something that behaves like one. My feeling is that a lot of those attributes are filled in on demand. Maybe a whole set of them come from stat(), some from the Carbon FileManager, etc. Your problem is that since NSFileExtendedAttributes isn't in the approved API, requesting it doesn't cause NSFileAttributes to fetch it (since Apple never anticipated people asking for it). It just gets filled in as a side effect of fetching some other attribute. _______________________________________________ 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