On 18/02/2010, at 8:44 PM, Arjun SM wrote:

> Hi,
> 
>   Can any one help me out on How I can get the List of all hard disk
> partions mounted on the the System along with the Icon, just like Disk
> Utility application does. (Image below.)
> 
> 
> [image:
> ?ui=2&view=att&th=126df98c109f6b52&attid=0.1&disp=attd&realattid=ii_126df98c109f6b52&zw]
> 
> 
> I have used the  NSWorkspace : iconForFile:path,  by passing the "/" for the
> Path and  this would return an image of the boot partions only.
> 

See this sample code from Apple 
<http://developer.apple.com/mac/library/samplecode/SourceView/index.htm>

HTH,

Kiel

> thanks,
> ~Arjun
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/kiel.gillard%40gmail.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to