• 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
Shared User Defaults Binding and NSTextField.setStringValue(...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shared User Defaults Binding and NSTextField.setStringValue(...)


  • Subject: Shared User Defaults Binding and NSTextField.setStringValue(...)
  • From: Rémy Schumm <email@hidden>
  • Date: Tue, 22 Mar 2005 14:33:48 +0100

Hello List


I have a NSTextField which value is bound to the Shared User Defaults.

- If I update the NSTextField in the GUI, it's value is sucessfully stored in the Preferences.
- If I update the NSTextField programmatically by
((NSTextField)ziel).setStringValue(aString);
the value is NOT stored in the Preferences.


Question: what have I to do to manually notify the "bindings" that the NSTextField's value has changed?


thank you very much Rémy



--
Zürcher Hochschule Winterthur - ZHW
(Zurich University of Applied Science Winterthur, Switzerland)

Rémy Schumm, ZHW - T, E222, Postfach 805, 8401 Winterthur
dipl. Ing. FH, Assistent Softwareentwicklung, Dept. T,
tel. direkt +41 52 2677 490 gsm/mms/sms +41 79 21 1234 1
http://www.zhwin.ch/~smr  - PGP ID 0x59BA4E81 - Mac OS X Panther on G5
Content Security by MailMarshal
_______________________________________________
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: Shared User Defaults Binding and NSTextField.setStringValue(...)
      • From: Jiva DeVoe <email@hidden>
  • Prev by Date: Re: [OT] Job hunting
  • Next by Date: Re: [OT] Job hunting
  • Previous by thread: RE: Creating controls dynamically
  • Next by thread: Re: Shared User Defaults Binding and NSTextField.setStringValue(...)
  • Index(es):
    • Date
    • Thread