• 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: sendAction:to:from:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Re: sendAction:to:from:
      • From: "Shawn Erickson" <email@hidden>
    • Re: sendAction:to:from:
      • From: "Jordan Krushen" <email@hidden>
References: 
 >Re: sendAction:to:from: (From: "I. Savant" <email@hidden>)

  • Prev by Date: Did [NSStream getStreamsToHost:...] change its behavior lately?
  • Next by Date: Re: [SOLVED] How to identify the host app is Carbon or Cocoa in a context menu plugin.
  • Previous by thread: Re: sendAction:to:from:
  • Next by thread: Re: sendAction:to:from:
  • Index(es):
    • Date
    • Thread