Re: sendAction:to:from:
Re: sendAction:to:from:
- Subject: Re: sendAction:to:from:
- From: Bruce Truax <email@hidden>
- Date: Fri, 07 Jul 2006 16:53:40 -0400
- Thread-topic: sendAction:to:from:
So does that mean that my receiver needs to look like
- (void)theReceiver:(id *)sender
{
}
And my message sender needs to look like
[NSApp sendAction:@selector(theReceiver:) to:nil from:self];
Bruce
On 7/7/06 4:48 PM, "I. Savant" <email@hidden> wrote:
>
> Unless I've misunderstood your question, the receiver is **sent**
> the "from" value, which is accessed by the local variable name
> "sender". Of course the sender doesn't necessarily have to pass
> itself as the "sender" value ...
>
> --
> I.S.
>
>
> On Jul 7, 2006, at 4:44 PM, Bruce Truax wrote:
>
>> How can the receiver of the sendAction:to:from: access the "from:"
>> information? The documentation does not address the from: value at
>> all.
>>
>> Thanks.
>>
>> --
>> ____________________________________________________________
>> Bruce E. Truax email: email@hidden
>> Optical Engineering Consultant
>>
>> Diffraction Limited Design LLC
>> 388 Wedgewood Road voice: 860-276-0450
>> Southington, CT 06489 fax: 860-620-9026
>> http://www.dld-llc.com
>> _____________________________________________________________
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> 40gmail.com
>>
>> This email sent to email@hidden
>
--
____________________________________________________________
Bruce E. Truax email: email@hidden
Optical Engineering Consultant
Diffraction Limited Design LLC
388 Wedgewood Road voice: 860-276-0450
Southington, CT 06489 fax: 860-620-9026
http://www.dld-llc.com
_____________________________________________________________
_______________________________________________
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