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

NSTextField not updating NSUserDefaults using bindings


  • Subject: NSTextField not updating NSUserDefaults using bindings
  • From: Rod Schmidt <email@hidden>
  • Date: Wed, 13 Sep 2006 15:39:02 -0600

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?

Thanks,

Rod
_______________________________________________
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: Re: NSTableView drag and drop too smart for its own good
  • Next by Date: RE: How to know user clicks [print] button in cocoa PDE
  • Previous by thread: Core Data and Search / Filter Fields
  • Next by thread: Re: NSTextField not updating NSUserDefaults using bindings
  • Index(es):
    • Date
    • Thread