Re: Stacking views
Re: Stacking views
- Subject: Re: Stacking views
- From: Andreas Mayer <email@hidden>
- Date: Fri, 15 Feb 2008 17:42:55 +0100
Am 15.02.2008 um 13:08 Uhr schrieb Gernot:
I need to have a view that stacks its
subviews in top of each other. Like a TableView. It gets its
represented Objects from an NSArrayController, and assigns it to some
View that it then adds as a subview. It also cares about the
selection, scrolling and so on. But the difficult point is that those
views can have different heights, dependent on their
representedObject.
I did something like that.
It borrows some concepts from NSCollectionView. Right now you need to
assign an array of objects manually, but I guess creating a binding
should not be to difficult. It also does not use any animations.
Here is a small test app:
http://www.harmless.de/download/AMCollectionViewTest.zip
I'd probably need to add at least a bit of documentation before
publicly distributing the code though ...
Andreas
_______________________________________________
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