• 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
bindings question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bindings question


  • Subject: bindings question
  • From: Oftenwrong Soong <email@hidden>
  • Date: Fri, 6 Nov 2009 14:14:51 -0800 (PST)

Hi all,

I have a NSView subclass that displays a graphical representation of my model.

The model is described by some numerical values, which are entered into text fields.

As each text field is edited, the graphical representation should be redrawn to reflect the new value.

What's the most recommended way to trigger a redraw -- in other words, to cause setNeedsDisplay to be called -- whenever one of these values changes?

Thanks,
Soong




_______________________________________________

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

  • Follow-Ups:
    • Re: bindings question
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: NSTextView won't update via NSThread
  • Next by Date: Re: bindings question
  • Previous by thread: Re: cocoabuilder server down?
  • Next by thread: Re: bindings question
  • Index(es):
    • Date
    • Thread