• 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
Re: Problem with NSWorkspaceDidMountNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSWorkspaceDidMountNotification


  • Subject: Re: Problem with NSWorkspaceDidMountNotification
  • From: Mark Dalrymple <email@hidden>
  • Date: Mon, 9 May 2005 17:59:25 -0400

Hey Glenn,

> I'm in something of a catch-22. I can't proceed until I see the disc,
> but I can't see the disc until I proceed. I've even tried detaching
> a new thread that looks for the disc, to no avail. Any suggestions?

If you're on Tiger, you might want to check out the DiskArbitration framework. You can register a callback that gets triggered whenever a new disk appears. In that callback you can check through an info dictionary to see useful information about the disk.

On Panther, the framework lives in /System/Library/PrivateFramework, but the API is the same (at least the parts of the API I was using)

The only documentation I could find lives in the header files, but all the information is there. It's a C / CF-based API, but not terribly difficult to work with.

Cheers,
++Mark Dalrymple, email@hidden
  http://borkware.com

_______________________________________________
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


References: 
 >Problem with NSWorkspaceDidMountNotification (From: Glenn Zelniker <email@hidden>)

  • Prev by Date: Maintaining to-many relationships with KVO?
  • Next by Date: Re: .Spotlight-V100 file
  • Previous by thread: Problem with NSWorkspaceDidMountNotification
  • Next by thread: Re: Problem with NSWorkspaceDidMountNotification
  • Index(es):
    • Date
    • Thread