• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to re-create Finders File Copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to re-create Finders File Copy
      • From: Andreas Mayer <email@hidden>
References: 
 >How to re-create Finders File Copy (From: Jason Cox <email@hidden>)
 >Re: How to re-create Finders File Copy (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: How to re-create Finders File Copy
  • Next by Date: Re: How to re-create Finders File Copy
  • Previous by thread: Re: How to re-create Finders File Copy
  • Next by thread: Re: How to re-create Finders File Copy
  • Index(es):
    • Date
    • Thread