• 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: Object from TableView cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Object from TableView cell


  • Subject: RE: Object from TableView cell
  • From: "Cristian Savu" <email@hidden>
  • Date: Thu, 13 Jun 2002 14:52:48 +0300

> -----Original Message-----
> From: Phillip Morelock [mailto:email@hidden]
> Then just register for the notification with nil and you'll
> get all of them.
>
> When the notification comes in, your
>
> - (void) DoCreateMenu: (NSNotification *) note
> {
> //
> }
>
> method will get called and the NSNotification * that is
> passed to it looks
> like this:
>
> - name
> - object
> - userInfo
>
> Get the - object to find out which one sent the notification, then act
> appropriately. Isn't this what you're trying to do?

I already thought at this but a subclassing of NSPopUpButton is necessary
and I was trying to avoid this. Also, using nil as object: argument is an
example of bad programming.
Anyway, I'm under time pressure so I've did it as you said and it is
working. Thank's a lot for your time.


Regards,
Cristian
_______________________________________________
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.

  • Prev by Date: Re: Cocoa/Java - How to get files dropped onto app from Finder
  • Next by Date: Dock droplets in Cocoa
  • Previous by thread: Re: Object from TableView cell
  • Next by thread: RE: Object from TableView cell
  • Index(es):
    • Date
    • Thread