Re: How to get NSTableView to notice a change in NSTableDataModel
Re: How to get NSTableView to notice a change in NSTableDataModel
- Subject: Re: How to get NSTableView to notice a change in NSTableDataModel
- From: Scott Ellsworth <email@hidden>
- Date: Fri, 27 May 2005 11:57:20 -0700
On May 27, 2005, at 11:41 AM, Scott Stevenson wrote:
On May 27, 2005, at 11:28 AM, James Bucanek wrote:
But, are you using bindings to display your data, or a normal
datasource? If you are using bindings, it sounds like you aren't
sending out the proper KVO messages when add a new item.
Plain ol' hand-coded NSTableDataSource object.
For what it's worth, it sounds like Cocoa Bindings is much closer
to the 'notification' model that you're used to.
I agree.
Coming from a world of Listeners and Adapters, I found bindings very
natural. About the only weird part was getting used to not writing
_any_ code, and thus having to rethink where the code belonged if I
needed something special.
Scott
_______________________________________________
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