Re: Refreshing Cocoa Bindings

2017-01-12 Thread Gordon Apple
Just don't try binding to an arrayController via representedObject. I've resorted to using representedObject to establish a local iVar to reference such an arrayController. That works. On 1/12/17 1:42 PM, "cocoa-dev-requ...@lists.apple.com" wrote: > On Jan 11, 2017, at 13:16 , Daryle Walker w

Re: Refreshing Cocoa Bindings

2017-01-11 Thread Ken Thomases
On Jan 11, 2017, at 3:16 PM, Daryle Walker wrote: > > I'm going to store a reference to a model in a NSViewController's > representedObject field. The various contained views will reference that > field through KVO (Is that possible?) for their bound values. Yes, that's possible. The issue is

Re: Refreshing Cocoa Bindings

2017-01-11 Thread Quincey Morris
On Jan 11, 2017, at 13:16 , Daryle Walker wrote: > > I'm going to store a reference to a model in a NSViewController's > representedObject field. The various contained views will reference that > field through KVO (Is that possible?) for their bound values. If I change the > value of the repre

Refreshing Cocoa Bindings

2017-01-11 Thread Daryle Walker
I'm going to store a reference to a model in a NSViewController's representedObject field. The various contained views will reference that field through KVO (Is that possible?) for their bound values. If I change the value of the represented object (what it points to, not any attributes within),