Re: KVO and master-detail NSTableViews

2009-06-05 Thread Stefan Reitshamer
I think you're manually using KVO when you could (and perhaps should) be using bindings. I also think you're setting up the observations in the wrong direction. I wouldn't have the app controller observe properties of the array controller. Mediating controllers should bind to (thus,

KVO and master-detail NSTableViews

2009-06-04 Thread Stefan Reitshamer
I'm getting flaky behavior from my KVO code and I'm wondering what I'm doing wrong. I can't find any similar examples. I have a pop-up button and 2 NSTableViews. The pop-up button selection controls the content of the left NSTableView. The left NSTableView's selection controls the content of

Re: KVO and master-detail NSTableViews

2009-06-04 Thread Keary Suska
On Jun 4, 2009, at 4:24 AM, Stefan Reitshamer wrote: I'm getting flaky behavior from my KVO code and I'm wondering what I'm doing wrong. I can't find any similar examples. I have a pop-up button and 2 NSTableViews. The pop-up button selection controls the content of the left NSTableView.

Re: KVO and master-detail NSTableViews

2009-06-04 Thread Ken Thomases
On Jun 4, 2009, at 5:24 AM, Stefan Reitshamer wrote: I'm getting flaky behavior from my KVO code and I'm wondering what I'm doing wrong. I can't find any similar examples. I have a pop-up button and 2 NSTableViews. The pop-up button selection controls the content of the left NSTableView.