Re: Identifying a specific Mac model
Re: Identifying a specific Mac model
- Subject: Re: Identifying a specific Mac model
- From: Uli Kusterer <email@hidden>
- Date: Wed, 16 Sep 2015 11:34:52 +0200
I just tried it on the golden MacBook (in IB) and I got a golden icon.
> On 15 Sep 2015, at 15:59, John Daniel <email@hidden> wrote:
>
> 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
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://stacksmith.org
_______________________________________________
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