• 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: Cocoa Custom NSCell Binding Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Custom NSCell Binding Issue


  • Subject: Re: Cocoa Custom NSCell Binding Issue
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 13 Jan 2006 10:06:33 -0800


On Jan 13, 2006, at 9:31 AM, Sean Willson wrote:

this looks very promising. i really didn't mean this conversation to turn
into a RTFM moment. i really have been digging into the manuals.

The manuals, though, make it clear that this:

When the rating changes it calls setRating. I have tried calling the did and
will notifiers hoping that the NSArrayController is listening to it but
objectValue never gets called when it changes.


should not be expected behaviour. Views observe controllers which observe models, so there should be no reason for an array controller to "listen" for changes in a cell. Views communicate changes (within themselves) to controllers using key-value coding -- see <http:// developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/ Concepts/WhatAreBindings.html#//apple_ref/doc/uid/20002372-176805>.

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


References: 
 >Re: Cocoa Custom NSCell Binding Issue (From: Hamish Allan <email@hidden>)
 >Re: Cocoa Custom NSCell Binding Issue (From: Sean Willson <email@hidden>)
 >Re: Cocoa Custom NSCell Binding Issue (From: Casey Fleser <email@hidden>)
 >Re: Cocoa Custom NSCell Binding Issue (From: Sean Willson <email@hidden>)

  • Prev by Date: confusing Protocol error
  • Next by Date: Re: filtering with master-detail and core data
  • Previous by thread: Re: Cocoa Custom NSCell Binding Issue
  • Next by thread: Re: Cocoa Custom NSCell Binding Issue
  • Index(es):
    • Date
    • Thread