On 14 Sep 2015, at 01:09, John Daniel <etresoft.apple.li...@icloud.com> wrote:

> 
> MacBook8,1 covers all colours of the new MacBook.
> I am trying to differentiate the silver, from the space grey, from the gold.

Since the machines are physically identical save the paint job, I don’t think 
anything like sysctl or any other hardware identifier is going to help you. The 
only difference I’d imagine between a silver and gold MB would be the 
catalogue/product number. For example, Mactracker has the following order 
numbers for the 2015 MB:

> MF855LL/A (1.1 GHz with 256 GB storage, Silver) MK4M2LL/A (1.1 GHz with 256 
> GB storage, Gold) MJY32LL/A (1.1 GHz with 256 GB storage, Space Gray) 
> MF865LL/A (1.2 GHz with 512 GB storage, Silver) MK4N2LL/A (1.2 GHz with 512 
> GB storage, Gold) MJY42LL/A (1.2 GHz with 512 GB storage, Space Gray)

The chances of this being coded into the machine itself I’d imagine are zero. 
If that’s right, then the best you can do is ask your user to enter that 
information in order to display the correct icon. In lieu of that, your only 
option is to display a generic icon for the model identifier that you find in 
the usual way(s).


Best


Phil
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to