• 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: "Erik M. Buck" <email@hidden>
  • Date: Thu, 21 Mar 2002 14:45:46 -0600

----- Original Message -----
From: "Matt Rollefson" <email@hidden>
To: "Erik M. Buck" <email@hidden>
Cc: "Cocoa-Dev Mail" <email@hidden>
Sent: Thursday, March 21, 2002 1:48 PM
Subject: Re: Need clarification on categories


> On Tuesday, March 19, 2002, at 11:18 AM, Erik M. Buck wrote:
>
> >> 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.
>
> Please check the documentation before saying it lies -- we do our best
> to keep it accurate. The documentation for controlTextDidBeginEditing:
> (the actual name of the method; there is no controlDidBeginEditing:
> method) is this:
>

I apologize for any offense given. I replied to a previous quote that
quoted the documentation. Since the quote was erroneous, by assertion that
the documentation "lied" was also erroneous. I was correct that the quoted
text was incorrect. The quoted text was not an accurate quote.
_______________________________________________
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: Matt Rollefson <email@hidden>)

  • Prev by Date: Re: mouseMoved problems
  • Next by Date: Re: mouseMoved problems [SOLVED]
  • Previous by thread: Re: Need clarification on categories
  • Next by thread: Re: Need clarification on categories
  • Index(es):
    • Date
    • Thread