NSTokenField not updating collection of Entity
NSTokenField not updating collection of Entity
- Subject: NSTokenField not updating collection of Entity
- From: Johan <email@hidden>
- Date: Wed, 14 Feb 2007 00:33:50 +0100
Hi,
Like many others I seem to have some problems getting the
NSTokenField working properly.
After playing around for quite a bit with different binding-
configuration I now have a setup that seems to be working but still
is not.
I have NSTokenField with its "value"-binding bound to the
"arrangedObjects" or an ArrayController which has its contentSet-
binding bound to a collection of an entity (through an
ObjectController). Everything loads fine, the objects in the
collection are shown as tokens. But if I add or remove a token this
is not updated to the entity.
When debugging I see that the ArrayControllers arrangedObjects-array
has the correct number of objects after adding or removing tokens.
But for some reason those change never reach the entity.
Just for the sake of trying I manually called addObject on the
ArrayController and this properly added an object to the collection.
I would really appreciate any kind of hints to what I'm doing wrong
here!
Cheers
Johan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden