• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help needed with orientation to bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Help needed with orientation to bindings (From: Graham Cox <email@hidden>)
 >Re: Help needed with orientation to bindings (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Any way to tell why a window is closing?
  • Next by Date: an app that never quits
  • Previous by thread: Re: Help needed with orientation to bindings
  • Next by thread: Core Data memory not freed after reset
  • Index(es):
    • Date
    • Thread