• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Apple's Fancy Directories w/ Custom Icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Array of dictionaries + NSUserDefaultsController
  • Next by Date: Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
  • Previous by thread: how to force NSSavePanel not to display 'Replace' dialog?
  • Next by thread: Retains and bindings
  • Index(es):
    • Date
    • Thread