Re: NSWorkspaceDidMountNotification not firing on Snow Leopard
Re: NSWorkspaceDidMountNotification not firing on Snow Leopard
- Subject: Re: NSWorkspaceDidMountNotification not firing on Snow Leopard
- From: Kevin Bracey <email@hidden>
- Date: Fri, 9 Oct 2009 11:52:48 +1300
Thank you all for your help,
I really couldn't believe something like this could be broken, lol.
Ok, I've found the difference:
On Leopard :
9/10/09 11:45:31 AM iLike Installer[11553] NSConcreteNotification
0x19d6f0 {name = NSWorkspaceDidMountNotification; object =
<NSWorkspace: 0x180dd0>; userInfo = {
NSDevicePath = "/Volumes/SetupScripts";
}}
On Snow Leopard:
9/10/09 11:43:15 AM iLike Installer[203] NSConcreteNotification
0x220300 {name = NSWorkspaceDidMountNotification; object =
<NSWorkspace: 0x14d7e0>; userInfo = {
NSDevicePath = "/SetupScripts";
NSWorkspaceVolumeLocalizedNameKey = SetupScripts;
NSWorkspaceVolumeURLKey = afp://;AUTH=No email@hidden
/SetupScripts;
}}
NSDevicePath has changed
and I was checking for NSDevicePath = "/Volumes/SetupScripts", my bad.
Thanks again:)
Kevin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden