Re: What's it called if it's not a controller?
Re: What's it called if it's not a controller?
- Subject: Re: What's it called if it's not a controller?
- From: Laurent Daudelin <email@hidden>
- Date: Tue, 27 Jan 2004 00:37:19 -0500
on 26/01/04 23:47, Peter Jaros at email@hidden wrote:
>
I have an NSMatrix of NSButtonCells, each of which I want to bind to
>
certain keys, and the most convenient way to do this is
>
programmatically, iteratively. Where do I put this code? My instinct
>
tells me to put in in a "controller" class, but now controllers are
>
something else. Should I invent myself a meta-controller layer? :)
>
Where does excess glue code go?
>
What do you mean by "certain keys"? A key equivalent that will trigger the
button's action? If so, you can set the key equivalent programmatically.
However, the action method that those button cells will invoke has to be in
some controller class, usually.
-Laurent.
--
============================================================================
Laurent Daudelin AIM/iChat: LaurentDaudelin <
http://nemesys.dyndns.org>
Logiciels Nemesys Software
mailto:email@hidden
fish n.: [Adelaide University, Australia] 1. Another metasyntactic variable.
See foo. Derived originally from the Monty Python skit in the middle of "The
Meaning of Life" entitled "Find the Fish". 2. A pun for `microfiche'. A
microfiche file cabinet may be referred to as a `fish tank'.
_______________________________________________
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.