Apple's Fancy Directories w/ Custom Icons
Apple's Fancy Directories w/ Custom Icons
- Subject: Apple's Fancy Directories w/ Custom Icons
- From: Daniel Todd Currie <email@hidden>
- Date: Fri, 22 Oct 2004 11:47:02 +0900
My application receives drag and drop of any sort of file from the
finder, and lists the files in a table. It works perfectly throughout
the file system, with a few exceptions.
When I try to drag the following files:
/Users
~/Documents
~/Library
My application hangs on the line:
NSFileWrapper *fileWrapper = [[NSFileWrapper alloc]
initWithPath:filePath];
What is so special about these files that would cause the file wrapper
to hang? The only ones that hang are the directories to which Apple
has added a custom icon. "~/Desktop" also crashes my app, but for a
different reason that I haven't figured out yet.
Any thoughts?
-- DTC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden