Re: - (IBAction)showWindow:(id)sender
Re: - (IBAction)showWindow:(id)sender
- Subject: Re: - (IBAction)showWindow:(id)sender
- From: Ondra Cada <email@hidden>
- Date: Wed, 8 Jun 2005 17:40:37 +0200
Theodore,
On 8.6.2005, at 17:08, Theodore H. Smith wrote:
Do I need to send a valid sender object to - (IBAction)showWindow:
(id)sender?
I see no mention of sender being used for anything in the techref.
So I assume that it is not needed, but then I don't like assumptions.
For a vast majority of actions, the sender is completely irrelevant.
You can use anything (there's a pretty weak convention of using self).
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden