Re: Set up an editable view based NSTableView programmatically - how to?
Re: Set up an editable view based NSTableView programmatically - how to?
- Subject: Re: Set up an editable view based NSTableView programmatically - how to?
- From: Jens Alfke <email@hidden>
- Date: Tue, 07 Jan 2014 08:32:40 -0800
On Jan 7, 2014, at 7:52 AM, Peter <email@hidden> wrote:
> I’d be very happy if somebody could point me to an example of an editable NSTableView set up programmatically.
It sounds like you just mean using a custom data source rather than relying on bindings to provide the data? That’s very easy to do. Just look at the docs for NSTableViewDataSource — you just need to implement the three methods to provide the row count, get a cell value, and set a cell value.
—Jens
_______________________________________________
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