Re: Identifying a specific Mac model
Re: Identifying a specific Mac model
- Subject: Re: Identifying a specific Mac model
- From: John Daniel <email@hidden>
- Date: Tue, 15 Sep 2015 09:59:08 -0400
Thanks! That did the trick. It took a couple of tries to get it working. I forgot that the namedImage method returns a scaled down image. it is a little counter-intuitive, but you have to scale the image up and then it will pick the bigger image in the icns file.
I still don’t know if it will display in gold on a new MacBook, but it seems to work on two MacBookPros and an iMac.
John Daniel
email@hidden
> On Sep 14, 2015, at 12:43 PM, Jean-Daniel Dupas <email@hidden> wrote:
>
> If you just want to current machine icon, just use + [NSImage imageNamed:NSImageNameComputer]
>
>
_______________________________________________
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