Re: showing a list of mounted volumes with icon
Re: showing a list of mounted volumes with icon
- Subject: Re: showing a list of mounted volumes with icon
- From: James Walker <email@hidden>
- Date: Fri, 23 Apr 2010 18:23:29 -0700
On 4/23/2010 5:47 PM, Angelo Chen wrote:
> I'd just like show a collection of mounted volumes in a sheet and let
user choose one of them.
Carbon has a call just for this (NavCreateChooseVolumeDialog) but I
don't see anything so easy for Cocoa. You can get a list of volumes
with NSFileManager, get their icons with NSWorkspace, and then build
your own sheet, maybe using NSTableView.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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