• 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: Value binding not updating on text field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Value binding not updating on text field


  • Subject: Re: Value binding not updating on text field
  • From: Jeff Nouwen <email@hidden>
  • Date: Thu, 28 Feb 2008 08:44:04 -0700
  • Priority: normal

Keith Duncan wrote on Thursday, February 28, 2008 8:01 am:
> Typically you'd bind the text field to the underlying value, the
> same value the slider is bound to. Is there a reason you want to
> do it this way?

Whoops, yes you're right, I was ignoring a basic tenet of MVC. I had wired it up that way just as a quick-and-dirty check of something else I was doing and the "don't use your UI to store data" premise slipped my mind.

Thanks for the reminder!

- Jeff
_______________________________________________

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

References: 
 >Value binding not updating on text field (From: Jeff Nouwen <email@hidden>)
 >Re: Value binding not updating on text field (From: Keith Duncan <email@hidden>)

  • Prev by Date: Re: Value binding not updating on text field
  • Next by Date: Re: Table views with different NSArrayControllers sharing the same data object...
  • Previous by thread: Re: Value binding not updating on text field
  • Next by thread: Combining NSLineBreakByWordWrapping + NSLineBreakByTruncatingTail in NSTextView
  • Index(es):
    • Date
    • Thread