Am 20.02.2009 um 00:43 Uhr schrieb Corbin Dunn:
I suspect it has a view in a separate NIB, as a sort of template.
It creates a window and loads that view into it. When another copy
operation starts, it grows the window, keeping the first view in
its screen position (which means changing its position in the
window's coordinate space), and loads another copy of the template
view from the NIB, putting it below the first. Etc.
This is the general recipe for how to make something like that.
NSTableView doesn't work too well with views as subviews. You could
also consider using NSCollectionView.
You might be interested in AMCollectionView, especially if you want to
target 10.4:
http://www.harmless.de/cocoa-code.php#collectionview
Andreas
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com