Re: Bindings, User Defaults and the UI
Re: Bindings, User Defaults and the UI
- Subject: Re: Bindings, User Defaults and the UI
- From: "Jeffrey E. Forcier" <email@hidden>
- Date: Wed, 28 Sep 2005 21:53:16 -0400
No, that's what I mean, I'm able to print out to the Run Log while
executing, and I print the value of the controller at that key right
after setting it, and it does print out correctly. E.g. if I set the
UserDefaultsController value for key "bob" to "smith", then later on
tell it to print the UserDefaultsController value for key "bob", I
get "smith" back out.
So it looks very much like the model/controller *is* getting the
value update okay, and yet they're not properly notifying the UI
component of the change.
This could be a bug in PyObjC but I can't find anything about it on
their mailing list archives (and simpler bindings-related tests I've
done earlier worked just fine).
-Jeff
On Sep 28, 2005, at 9:45 PM, Julian wrote:
PyObjC. :D Hmm, yea I am not sure about how well that works with
bindings, etc since I have never used the language, but it looks to
me that the values are not being saved when you set the values,
only on application exit when the controller does this to the
default domain. You may try calling save: on the controller after
they are set in that loop.
~Julian
On Sep 28, 2005, at 9:40 PM, Jeffrey E. Forcier wrote:
PyObjC
~Julian
email@hidden
--
Jeffrey E. Forcier
Junior Developer, Research and Development
Stroz Friedberg, LLC
15 Maiden Lane, 12th Floor
New York, NY 10038
[main]212-981-6540 [direct]212-981-6546
http://www.strozllc.com
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No right to
confidential or privileged treatment of this message is waived or lost
by any error in transmission. If you have received this message in
error, please immediately notify the sender by e-mail or by telephone at
212.981.6540, delete the message and all copies from your system and
destroy any hard copies. You must not, directly or indirectly, use,
disclose, distribute, print or copy any part of this message if you are
not the intended recipient.
_______________________________________________
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