• 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
[Q] NSTextField and binding: What gets called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] NSTextField and binding: What gets called?


  • Subject: [Q] NSTextField and binding: What gets called?
  • From: admin <email@hidden>
  • Date: Sun, 8 Feb 2009 10:06:40 -0500

I' override an NSTextField to handle re-size if text size changes. Problem is it only reacts on text input by the user [self textDidChange:] but not if changed through binding because [self textDidChange:] is never called.

Which of the methods do I need to override in order to get notice of any changes in the NSTextField cell? BTW, I've tried to override [self setObjectValue:] and it's only called once and it seams to be before the string value was set by the binding activity. [self setStringValue:] gets never called from any binding activity....

Wilfried
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: -[NSTreeController moveNode:toIndexPath:] broken?
  • Next by Date: Re: Read lines from very large text file
  • Previous by thread: Re: subpixel rendering vs. layer backed views
  • Next by thread: Borderless and resize
  • Index(es):
    • Date
    • Thread