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 (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

Reply via email to