• 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: Need clarification on categories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need clarification on categories


  • Subject: Re: Need clarification on categories
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 19 Mar 2002 13:15:16 -0500

Well, I garbled that pretty badly.

I said: "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."

I meant to say controlTextDidBeginEditing:. The documentation doesn't say
what I claimed it says, anyway, but only that the method will be called if
implemented in any delegate and any "observer," not in any control. So of
course it isn't getting called in a category on NSControl. But even that was
wrong, because what I meant to use for what I'm trying to do is
textDidBeginEditing:, and that's implemented in at least some of the
controls in which I'm interested (NSMatrix-based), anyway, without need of a
category. I'll just implement controlTextDidBeginEditing: in my window
controller.

Sorry for the noise.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

References: 
 >Re: Need clarification on categories (From: "Erik M. Buck" <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 2 #348 - 12 msgs
  • Next by Date: Re: Several questions on Objective C
  • Previous by thread: Re: Need clarification on categories
  • Next by thread: Re: Need clarification on categories
  • Index(es):
    • Date
    • Thread