RE: Object from TableView cell
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.