Re: Bindings setup with NSCollectionViews

2014-06-20 Thread Hajder Rabiee
Thanks. That did it ! On Thu, Jun 19, 2014 at 6:07 PM, Willeke wrote: > Bind the Selection Indexes of the master collection view to > selectionIndexes of the BoardArrayController. > I would bind the Contents of the detail collection view to arrangedObjects > of the ListArrayController. > > Will

Re: Bindings setup with NSCollectionViews

2014-06-19 Thread Willeke
Bind the Selection Indexes of the master collection view to selectionIndexes of the BoardArrayController. I would bind the Contents of the detail collection view to arrangedObjects of the ListArrayController. Willeke Op 18 jun 2014, om 03:40 heeft Hajder Rabiee het volgende geschreven: > Hi al

Re: Bindings setup with NSCollectionViews

2014-06-18 Thread Hajder Rabiee
Actually I already have an alternative (code) solution, instead of binding an IBOutlet to an ArrayController, I could just call setContent on my detailedView in observeValueForKeyPath (see hint in the question). But I would prefer getting it to work through IB only, since everything else is alread

Re: Bindings setup with NSCollectionViews

2014-06-18 Thread Gordon Apple
That part should work. I was referring to the view controller¹s representedObject, if you are using such a view controller in a view nib and trying to bind the collection view to an array controller through the view controller¹s representedObject. On 6/18/14 1:34 PM, "Hajder Rabiee" wrote: > Th

Re: Bindings setup with NSCollectionViews

2014-06-18 Thread Hajder Rabiee
The master detail view is bound to BoardArrayController with Controller Key: arrangedObjects The detailed view is bound to BoardArrayController with Controller Key: selection and Model Key Path: lists I have followed the guide here https://developer.apple.com/library/mac/documentation/Cocoa/Concep

Re: Bindings setup with NSCollectionViews

2014-06-18 Thread Gordon Apple
Sorry, forgot to update the Subject on previous post On 6/18/14 8:28 AM, "cocoa-dev-requ...@lists.apple.com" wrote: > Bindings setup with NSCollectionViews ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post a

Re: Bindings setup with NSCollectionViews

2014-06-18 Thread Keary Suska
On Jun 17, 2014, at 7:40 PM, Hajder Rabiee wrote: > I am having trouble getting the master-detail binding configuration setup > correctly. I've sat down far too many hours > trying to debug this and I hope anyone can give me a hint on how to solve > this issue. > > The full problem description ca

Bindings setup with NSCollectionViews

2014-06-17 Thread Hajder Rabiee
Hi all I am having trouble getting the master-detail binding configuration setup correctly. I've sat down far too many hours trying to debug this and I hope anyone can give me a hint on how to solve this issue. The full problem description can be found already at http://stackoverflow.com/question