[英]Listing all the drives with their size in Cocoa (Mac OS X)
How to implement the drive list shown in figure in cCcoa and when I click on a specific drive it should open that drive. 如何在cCcoa中实现图中所示的驱动器列表,当我单击特定的驱动器时,应打开该驱动器。
Thanks... 谢谢...
Take a look at FileSystemItem.m 看看FileSystemItem.m
For file icon use 用于文件图标
[[NSWorkspace sharedWorkspace] iconForFile:fullPath];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.