• 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
Getting disk mount notification with Foundation tools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting disk mount notification with Foundation tools


  • Subject: Getting disk mount notification with Foundation tools
  • From: Mike Vannorsdel <email@hidden>
  • Date: Sat, 08 Jun 2002 00:53:42 -0600

I have a Foundation tool and I need to get disk mounting notifications.
Since it's a Foundation tool, I can't use AppKit's NSWorkspace methods.
I've tried linking to AppKit and registering for the notification, but
didn't receive the notification (or any workspace notifications for that
matter). I did get a valid NSWorkspace object which did have a valid
notification center. But the instance of NSWorkspace was not the same as
the "real" AppKit applications were getting, which probably explains the
lack of any notifications.

So how do I get notifications of mounted disks from Foundation? This tool
is also a daemon (forks), if that matters.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting disk mount notification with Foundation tools
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: DnD for NSTextFields, Drag'n'Drop
  • Next by Date: Pfhorge New Features
  • Previous by thread: Re: debugging tools hosed?
  • Next by thread: Re: Getting disk mount notification with Foundation tools
  • Index(es):
    • Date
    • Thread