Re: How to re-create Finders File Copy
Re: How to re-create Finders File Copy
- Subject: Re: How to re-create Finders File Copy
- From: Andreas Mayer <email@hidden>
- Date: Fri, 20 Feb 2009 04:13:06 +0100
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 (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