Re: Binding a dictionary to a table view
Re: Binding a dictionary to a table view
- Subject: Re: Binding a dictionary to a table view
- From: Stefan Fisk <email@hidden>
- Date: Wed, 2 Nov 2005 14:47:46 +0100
My solution consists of only a NSValueTransformer, but still it
supports editing of the array without any (from what I've experienced
at least) oddities. I think it's due to the author not realizing that
"Handle Content as Compound Value" will happily convert the array
back to a dictionary if you make a change to its content as long as
you make the transformer support reverse transformation. Also I don't
really see the need to make a class just to keep the key/value pair,
NSMutableDictionary works great for that.
Then again, my understanding of the intricacies of bindings is
lacking, so I might be missing something.
2 nov 2005 kl. 10.50 skrev mmalcolm crawford:
On Oct 31, 2005, at 11:51 PM, Stefan Fisk wrote:
Actually, I got it to work before i even got his reply, it's that
simple
This is likely to be to simple in some cases.
See <http://www.cocoabuilder.com/archive/message/cocoa/
2005/8/19/144601>.
mmalc
_______________________________________________
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
_______________________________________________
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