How does it wreak havoc with undo? Undo seems to work still. In something like 
TextExpander, you change the textfield where your expansion goes, and the table 
in the left hand side changes as you type. That's what I was aiming for.

But I've found why it suddenly stopped working. I stumbled upon the URL below. 
Apparently the "Automatically rearrange content" for the NSArrayController 
makes this all go awry. It seems like I can choose between auto rearrange 
content, or continuously update values, but not both. Don't know if this is a 
bug or if there is some reason for it.


http://stackoverflow.com/questions/1028700/core-data-strange-bindings-error-on-re-opening-a-document-help




----- Original Message ----
From: Kyle Sluder <kyle.slu...@gmail.com>
To: Chris Idou <idou...@yahoo.com>
Cc: Jerry Krinock <je...@ieee.org>; cocoa-dev@lists.apple.com
Sent: Wed, 7 April, 2010 11:21:28 AM
Subject: Re: Tricky binding and continuous update problem

On Tue, Apr 6, 2010 at 5:28 PM, Chris Idou <idou...@yahoo.com> wrote:
> I don't know, it seems to me like having everything always in synch is nicer. 
> The user can see immediately how changing one field is affecting the other. 
> And it used to work.

That will wreak havoc with Undo. Continuously updating values is not
pretty, and it's not how text fields behave on the Mac. Rich text does
behave as you describe, but you can't use bindings for that.

Avoid fighting the framework. ;-)

--Kyle Sluder





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to