FROM : ttempel
DATE : Thu Apr 07 00:48:18 2005
On Apr 6, 2005, at 3:03 PM, Luc Vandal wrote:
> Hi!
>
> is there any event/notification for when a control gains focus? I did
> search in the documentation and they mention that you can get notified
> when your control has focus but I can't seem to find any code to do it
> (I know how to register for a notification, but I don't know which
> class has that notification nor the notification name)!
>
I believe there are entire sections that document the various
notifications, but cannot recall if it's on a per-class basis (I think
it is) or a separate chapter or two.
Having said that, I'll also point you at a utility I wrote, named
"Meow", that listens in on various notifications. It may be of some
help in watching/discovering what's going on in terms of notifications
(distributed and workspace):
http://www.tyborg.com/meow/
> Also, is there some quick reference people use to quickly find stuff
> like that? I dunno if it's my PC dev background but I always have a
> hard time to find out about pretty much anything in the documentation
> for Cocoa. :)
>
I usually have a Safari window open with several tabs open to the ADC
documentation pages for Cocoa and make heavy use of the ADC's "search"
field on the web pages.
Hope this helps.
-- george (ty) tempel
DATE : Thu Apr 07 00:48:18 2005
On Apr 6, 2005, at 3:03 PM, Luc Vandal wrote:
> Hi!
>
> is there any event/notification for when a control gains focus? I did
> search in the documentation and they mention that you can get notified
> when your control has focus but I can't seem to find any code to do it
> (I know how to register for a notification, but I don't know which
> class has that notification nor the notification name)!
>
I believe there are entire sections that document the various
notifications, but cannot recall if it's on a per-class basis (I think
it is) or a separate chapter or two.
Having said that, I'll also point you at a utility I wrote, named
"Meow", that listens in on various notifications. It may be of some
help in watching/discovering what's going on in terms of notifications
(distributed and workspace):
http://www.tyborg.com/meow/
> Also, is there some quick reference people use to quickly find stuff
> like that? I dunno if it's my PC dev background but I always have a
> hard time to find out about pretty much anything in the documentation
> for Cocoa. :)
>
I usually have a Safari window open with several tabs open to the ADC
documentation pages for Cocoa and make heavy use of the ADC's "search"
field on the web pages.
Hope this helps.
-- george (ty) tempel






Cocoa mail archive

