On Jul 13, 2010, at 2:44 PM, Murat Konar wrote: > NSLog(@"extAttrs:%@", [attrs objectForKey:@"NSFileExtendedAttributes"]); > NSLog(@"attrs:%@", attrs); > NSLog(@"extAttrs:%@", [attrs objectForKey:@"NSFileExtendedAttributes"]);
> 2010-07-13 13:14:30.648 FileManagerBug[9323:813] extAttrs:(null) > 2010-07-13 13:14:30.653 FileManagerBug[9323:813] attrs:{ > NSFileCreationDate = 2010-07-12 17:37:02 -0700; > NSFileExtendedAttributes = { > "com.apple.metadata:kMDItemFinderComment" = <62706c69...00000e>; > }; > NSFileExtensionHidden = 0; > NSFileGroupOwnerAccountID = 219; > NSFileGroupOwnerAccountName = gfx; > NSFileHFSCreatorCode = 0; > NSFileHFSTypeCode = 0; > NSFileModificationDate = 2010-07-12 17:37:02 -0700; > NSFileOwnerAccountID = 3779; > NSFileOwnerAccountName = murat; > NSFilePosixPermissions = 436; > NSFileReferenceCount = 1; > NSFileSize = 0; > NSFileSystemFileNumber = 17122047; > NSFileSystemNumber = 234881026; > NSFileType = NSFileTypeRegular; > } > 2010-07-13 13:14:30.654 FileManagerBug[9323:813] extAttrs:{ > "com.apple.metadata:kMDItemFinderComment" = <62706c69...00000e>; > } First off, NSFileExtendedAttributes is undocumented and likely a private API. Your bug requests might get ignored, not only because they may have nothing to so with the compiler, but also because you are not supposed to be using private APIs anyway. Additionally, you are assuming that the specific dictionary entry exists before you call NSLog(@"attrs:%@", attrs), when in fact it may not. There may be a private method that creates the dictionary entry, that also happens to be called by -description. If you really need to know, you should be able to step through the code in the debugger to find out. HTH, Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business" _______________________________________________ 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