Penchant is a great word. Did you know that the average vocabulary is less that 
200 words? And I be penchant is not in that set. 

I guess I should rethink my design although I got around things by getting a 
pointer the Menu Item and then setting its target to be my object.  I just 
thought this is a few steps too many 

1. define an outlet - one line of code
2. connect the outlet - one IB action
3. set the target on the outlet - one more line of code

Seems like a lot.  But if my action was in a view in the view hierarchy all is 
well with just an IB connection.

Comments ?

-koko



On Feb 26, 2011, at 12:03 AM, Kyle Sluder wrote:

> On Fri, Feb 25, 2011 at 10:18 PM, koko <k...@highrolls.net> wrote:
>> Really!  So just do
>> 
>>  [window makeFirstResponder:object]:
>> 
>> Wow. too much work.
>> 
>> [object makeFirstResponder}
> 
> NO!
> 
> You have this penchant for not reading documentation.
> http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW2
> 
> --Kyle Sluder
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to