• 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: NSTextField not updating NSUserDefaults using bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField not updating NSUserDefaults using bindings


  • Subject: Re: NSTextField not updating NSUserDefaults using bindings
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 14 Sep 2006 09:03:03 -0700
  • Thread-topic: NSTextField not updating NSUserDefaults using bindings

On Wed, 13 Sep 2006 15:39:02 -0600, Rod Schmidt <email@hidden>
said:
>I have a preference dialog with two fields: a user name and a
>password field. These are bound to values in the the user defaults.
>This works fine for most of my users (at least I haven't received any
>bug reports), except for two users. For them, the username field
>isn't being updated in the user defaults. The user types in their
>user name, closes the dialog, and goes on with using the software.
>The software retrieves this default and it is not up to date. Yet
>when the preferences dialog is re-opened it has the correct value.
>One user said that if he typed one character, then closed the prefs
>dialog, reopened it, and then typed another character, and on and
>on..., it would work.
>
>As far as I can tell, the bindings are set up correctly, including
>the continuously update value setting is set to true.
>
>I've tried to duplicate it myself and haven't been able to. Any ideas?

There are two issues here. (1) How *are* the bindings set up? (2) How does
"the software retrieve this default"? You need to show facts in order to get
specific help. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Follow-Ups:
    • Re: NSTextField not updating NSUserDefaults using bindings
      • From: Rod Schmidt <email@hidden>
  • Prev by Date: Re: Bindings / Core Data: Ensuring a value is unique
  • Next by Date: Re: Breakpoints working incorrectly in XCode / GDB?
  • Previous by thread: NSTextField not updating NSUserDefaults using bindings
  • Next by thread: Re: NSTextField not updating NSUserDefaults using bindings
  • Index(es):
    • Date
    • Thread