• 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 with custom NSCell and Bindings in Table View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with custom NSCell and Bindings in Table View


  • Subject: Re: Help with custom NSCell and Bindings in Table View
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 6 Mar 2006 01:02:53 -0800


On Mar 5, 2006, at 4:36 PM, Mike Abdullah wrote:

The problem is then using my cell to set the value that the cell represents. I can't figure out how to do this. If I call setObjectValue: of the cell at the appropriate time, then this doesn't get passed back to my NSArrayController, and on the next redraw, the cell reverts back to its original appearence.

This is expected behaviour:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/Concepts/Troubleshooting.html#//apple_ref/doc/uid/ TP40002148-182467>


See <http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/Concepts/HowDoBindingsWork.html> for more about how bindings work, and:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
("Clock Control") for an example (work in progress) of a cell that uses bindings.


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


  • Follow-Ups:
    • Re: Help with custom NSCell and Bindings in Table View
      • From: Mike Abdullah <email@hidden>
References: 
 >Re: Help with custom NSCell and Bindings in Table View (From: Greg Herlihy <email@hidden>)
 >Re: Help with custom NSCell and Bindings in Table View (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Xcode build error and undeclared method
  • Next by Date: Re: Using a custom NSCell for NSButton created in IB
  • Previous by thread: Re: Help with custom NSCell and Bindings in Table View
  • Next by thread: Re: Help with custom NSCell and Bindings in Table View
  • Index(es):
    • Date
    • Thread