Re: Need clarification on categories
Re: Need clarification on categories
- Subject: Re: Need clarification on categories
- From: "Erik M. Buck" <email@hidden>
- Date: Tue, 19 Mar 2002 13:18:37 -0600
>
The reason I'm suffering feelings of doubt is that the method I'm trying
to
>
implement in a category is a delegate method, and it doesn't get called
when
>
I think it should. Specifically, the NSControl class reference document
says
>
the controlDidBeginEditing: delegate method will be called whenever a
>
text-based field is edited in any control that implements the method. But
>
when I implement the method in a category on NSControl, it doesn't get
>
called. For example, I click into a field in an NSForm and type a
character,
>
but controlDidBeginEditing: doesn't get called.
>
I think the documentation lies. It might get called if you make the control
its own delegate.
_______________________________________________
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.