• 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: TextField Delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextField Delegates


  • Subject: Re: TextField Delegates
  • From: Sam Goldman <email@hidden>
  • Date: Fri, 28 Dec 2001 07:33:07 -0800

I dealt with this sooo long ago that I am not sure of this response.

I think that you are using the wrong delegate methods. Look at NSControl for
the correct ones (e.g. ControlTextDidChange).

- Sam

On 12/28/01 7:24 AM, "Jane" <email@hidden> wrote:

> I'm sure I'm missing something elementary but..
>
> I have a NSTextField object in a window created in IB and designated my
> controller object as its delegate. However, whenever I enter, change
> the text , or end editing in the NSTextField, none of my delegate
> methods are sent the expected messages.
>
> I have verified in my awakeFromNib method that my controller is indeed
> the delegate (via testing using the NSTextField delegate method is
> equal to self) and, using the NSObject method description, that my
> IBOutlet is an NSTextField. I put an NSTextView in the window via IB
> and set my controller as its delegate. My delegate methods do get the
> expected messages from the NSTextView.
>
> Delegates that I have set up include: textShouldBeginEditing,
> textDidEndEditing, textDidChange, among others documented for
> NSTextField. What am I doing wrong???
>
> TIA. Jane
> _______________________________________________
> 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.


  • Follow-Ups:
    • Re: TextField Delegates
      • From: Jane <email@hidden>
References: 
 >TextField Delegates (From: Jane <email@hidden>)

  • Prev by Date: TextField Delegates
  • Next by Date: Re: TextField Delegates
  • Previous by thread: TextField Delegates
  • Next by thread: Re: TextField Delegates
  • Index(es):
    • Date
    • Thread