airdrop

Is there a way of getting a Mac's icon given its model number?

前提是你 提交于 2019-11-26 17:25:53
问题 I know you can get the current machine's icon from cocoa using the following code: NSImage *machineIcon = [NSImage imageNamed:NSImageNameComputer]; But is it possible to get the icon when given just a model number? Such as MacBookPro11,3 ? The reason I need this is because I'm using MultiPeer Connectivity to browse devices on the network that I'd like to connect to. But I want to display the icons from those devices in a customized browser view. I know that OS X has pretty much every icon for