Re: NSWorkspaceDidMountNotification usage
Re: NSWorkspaceDidMountNotification usage
- Subject: Re: NSWorkspaceDidMountNotification usage
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 4 May 2003 18:49:33 +0100
On Sunday, May 4, 2003, at 06:34 pm, Salanki Benjamin wrote:
I was trying to setup my app to listen to
NSWorkspaceDidMountNotifications, but I can't seem to get it tow work.
See the documentation for NSWorkspace's notifications:
Notifications
All NSWorkspace notifications are posted to NSWorkspaces own
notification center, not the applications default notification center.
Access this center using NSWorkspaces notificationCenter method.
So use [[NSWorkspace sharedWorkspace] notificationCenter] instead of
[NSNotificationCenter defaultCenter]
-- Finlay
_______________________________________________
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.