Help needed with NSController / Bindings problem...
Help needed with NSController / Bindings problem...
- Subject: Help needed with NSController / Bindings problem...
- From: Chris Pavicich <email@hidden>
- Date: Thu, 4 Mar 2004 20:00:28 -0500
Hi list:
I have been working with NSController and 'new' Cocoa bindings stuff
recently. It's all been going pretty well, until today.
I am trying to write a Master-Detail view using an NSTableView (master)
and a NSTextView (detail).
Everything in the table view works great. The data loads, it sorts
okay, etc. When the window
initially loads, the detail view is even set correctly.
However, once the row selection changes in the table view, the text
view is not update.
I am using an NSArrayController to drive the table view.
The bindings on the text view are:
value = {
bind to = NSArrayController
controller key = selection
model key path = (a method on my model object that works!)
}
I followed mmalc's advice and disabled multiple fonts on the text view.
I have also tried logging calls to the each of my accessors to see if
they are getting called. It appears
that they are not.
If anyone can help with this problem, it would be greatly appreciated.
Thanks
CMP
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.