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: Corbin Dunn <email@hidden>
- Date: Thu, 19 Feb 2009 15:43:07 -0800
On Feb 19, 2009, at 3:22 PM, Ken Thomases wrote:
On Feb 19, 2009, at 4:21 PM, Jason Cox wrote:
I want to re-create finders copy when you are copying multiple files.
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.
-corbin
I could swear there was an example of how this was done in one of
the guides, or a sample code example, but my google-fu is failing me.
Cheers,
Ken
_______________________________________________
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