Re: Core Data / Bindings Behavior
Re: Core Data / Bindings Behavior
- Subject: Re: Core Data / Bindings Behavior
- From: Modesitt Software <email@hidden>
- Date: Sat, 10 Sep 2005 09:55:32 -0700
On Jun 8, 2005, at 12:44 AM, email@hidden wrote:
Message: 14
Date: Tue, 7 Jun 2005 23:23:18 -0700
From: mmalcolm crawford <email@hidden>
Subject: Re: Core Data / Bindings Behavior
To: Cocoa Dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On Jun 7, 2005, at 3:22 PM, Jeff LaMarche wrote:
Now, if someone is entering data or editing a field, and they type
command-S or select Save from the file menu, the changes to that
field just disappear. If they tab out of the field first, it works
fine.
Either:
(a) Set "Continuously Updates Value" as a binding option;
(b) Send the controller commitEditing: <http://developer.apple.com/
documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/
NSController.html#//apple_ref/doc/uid/20002043-BCIEEHAB>
mmalc
One nasty side effect about setting "Continuously Updates Value" as a
binding option for my Core Data document-based application. When
set, and text is entered onto a document, for example, an NSTableView
cell is edited, the document is not marked a "dirty," and the file's
proxy icon does not gray out, nor does the close icon display
correctly. Yet when an attempt is made to close the file, I am asked
if I want to save the changes or not. So somewhere a dirty flag is
set, but not for the user interface items. This is not the case when
"Continuously Updates Value" is not checked. Is this a bug?
Thanks,
-Bill
_______________________________________________
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