Re: Custom NSArrayController that manages its own array?
Re: Custom NSArrayController that manages its own array?
- Subject: Re: Custom NSArrayController that manages its own array?
- From: Jens Alfke <email@hidden>
- Date: Wed, 19 Oct 2011 14:34:10 -0700
On Oct 18, 2011, at 6:44 PM, Quincey Morris wrote:
> Absolutely. I'll add here that NSArrayControllers are basically glue, and not even (exactly) necessary glue. You can connect a table view directly to a data model, without using an array controller. All the array controller does is to add some useful conveniences (such as supporting the table in sorting and filtering content without disturbing the data model).
Right, but there’s quite a lot of very useful glue there: sorting the content, filtering, tracking the selection as a separate observable property, and so forth. It’s not something I’d want to reinvent.
—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