Re: Help needed with orientation to bindings
Re: Help needed with orientation to bindings
- Subject: Re: Help needed with orientation to bindings
- From: Graham Cox <email@hidden>
- Date: Tue, 22 Sep 2009 01:32:51 +1000
On 22/09/2009, at 12:55 AM, Keary Suska wrote:
Bindings don't handle aggregate/coalesce. You will need to do that
yourself in the main or a mediating model. Observe the controller's
selection (or table view notifications) to update on the fly.
Ah, OK. That's perhaps why I couldn't see how to do it with
bindings ;-) This is already what my 'classic' datasource approach is
doing, so maybe after all I might as well stick with it. Doesn't look
like bindings will help give me much for free in this case.
Also not a bindings-supported behavior. Implement table view
delegate methods to provide cells on the fly. You can apply
formatters or transformers to force default values (if you can't do
that at the model level).
Ditto. If I'm having to deal with this in the table delegate I may as
well stick to my current design which does other things that way.
Thanks - even when the answer is 'can't really be done', it's useful
to know, and exactly what I was after.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden