• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
embedding an NSCollectionView in another NSCollectionView -> Binding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Core Animation: How to swicth off all implicit animations?
  • Next by Date: Re: NSPopupUpButton not showing checked menu items
  • Previous by thread: Re: Determining use of serial comma
  • Next by thread: Magnify anything on the screen?
  • Index(es):
    • Date
    • Thread