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

Re: NSWorkspaceDidMountNotification usage


  • Subject: Re: NSWorkspaceDidMountNotification usage
  • From: Yann Bizeul <email@hidden>
  • Date: Sun, 4 May 2003 19:42:40 +0200

Did you declare mediaMounted as this :

- (void)mediaMounted:(NSNotification*)aNotification;

Le dimanche, 4 mai 2003, ` 19:34 Europe/Paris, Salanki Benjamin a icrit :

Hello,

I was trying to setup my app to listen to
NSWorkspaceDidMountNotifications, but I can't seem to get it tow work.
I did the following:

[[NSNotificationCenter defaultCenter] addObserver:self

selector:@selector(mediaMounted:)

name:NSWorkspaceDidMountNotification
object:[NSWorkspace
sharedWorkspace]];

but my mediaMounted: method never gets called.
what am I doing wrong?

thx,

ben
_______________________________________________
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.
_______________________________________________
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.

References: 
 >NSWorkspaceDidMountNotification usage (From: Salánki Benjámin <email@hidden>)

  • Prev by Date: NSWorkspaceDidMountNotification usage
  • Next by Date: Re: NSWorkspaceDidMountNotification usage
  • Previous by thread: NSWorkspaceDidMountNotification usage
  • Next by thread: Re: NSWorkspaceDidMountNotification usage
  • Index(es):
    • Date
    • Thread