embedding an NSCollectionView in another NSCollectionView -> Binding?
embedding an NSCollectionView in another NSCollectionView -> Binding?
- Subject: embedding an NSCollectionView in another NSCollectionView -> Binding?
- From: Benjámin Salánki <email@hidden>
- Date: Sun, 23 Nov 2008 15:20:12 +0100
Hey everyone,
I was trying to embed an NSCollectionView in another NSCollectionView
and I am having trouble with the bindings.
The main NSCollectionView's content is bound to an NSArrayController
and I wanted to bind the embeded NSCollectionView's content to Main
Collection View Item's representedObject.contents where contents is an
NSMutableArray.
Of course this does not work, as I had to find out.
So my questions are:
1) can an NSArray which is part of an NSCollectionView's
representedObject be bound and used as the content of another
(embedded) NSCollectionView (if yes, how?)
2) if not, how would you suggest I do this?
Thanks in advance,
Ben
PS: I used NSCollectionView everywhere even when I was referring to
NSCOllectionViewItems...
_______________________________________________
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