• 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
NSTextDidChangeNotification reporting wrong object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextDidChangeNotification reporting wrong object


  • Subject: NSTextDidChangeNotification reporting wrong object
  • From: Michele Balistreri <email@hidden>
  • Date: Fri, 22 Sep 2006 15:52:19 +0200

Here is my problem:

I have a form, with 2 NSTextViews. At each keystroke i need to do a check so the first thing i tried was setting a delegate object and implementing the textDidChange: method but for some reason it wasn't called.

I then tried registered for the notification, this worked..kind of. Basically the method gets called correctly each time a keystroke happens but the sender object of the notification is always the same and is neither of the 2 NSTextViews.


Any hint? Thank you

Regards,
Michele Balistreri
brik. Lead programmer.



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Gesture recognition
  • Next by Date: Is it "Proper" way to use SCNetworkReachability.
  • Previous by thread: Re: Gesture recognition
  • Next by thread: Re: NSTextDidChangeNotification reporting wrong object
  • Index(es):
    • Date
    • Thread