Re: What do NSArrayController, etc. do for me?

2017-01-13 Thread Quincey Morris
On Jan 13, 2017, at 09:52 , Charles Srstka wrote: > > What does NSObjectController do? Well, not a lot, but what it does is pretty > helpful: There’s one other obscure thing that NSObjectController does (or did, since I don’t know if this situation still exists, but I doubt the bug will ever b

Re: What do NSArrayController, etc. do for me?

2017-01-13 Thread Charles Srstka
> On Jan 13, 2017, at 6:39 AM, Daryle Walker > wrote: > > If my data model supports KVC/KVO, it seems like I should be able to bind my > views to my data directly via Cocoa Bindings, without using NSArrayController > or NSObjectController or the like. What advantage do t

Re: What do NSArrayController, etc. do for me?

2017-01-13 Thread Richard Charles
> On Jan 13, 2017, at 9:30 AM, Richard Charles wrote: > > > You can chain array controller together. You can chain array controllers together. Also binding using a controller will work better in Interface Builder than binding directly. Binding directly in Interface Builder may have memory m

Re: What do NSArrayController, etc. do for me?

2017-01-13 Thread Charles Srstka
> On Jan 13, 2017, at 6:39 AM, Daryle Walker wrote: > > If my data model supports KVC/KVO, it seems like I should be able to bind my > views to my data directly via Cocoa Bindings, without using NSArrayController > or NSObjectController or the like. What advantage do those classes give me? > >

Re: What do NSArrayController, etc. do for me?

2017-01-13 Thread Richard Charles
___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.co

What do NSArrayController, etc. do for me?

2017-01-13 Thread Daryle Walker
If my data model supports KVC/KVO, it seems like I should be able to bind my views to my data directly via Cocoa Bindings, without using NSArrayController or NSObjectController or the like. What advantage do those classes give me? Sent from my iPhone _