Re: Identifying a specific Mac model
Re: Identifying a specific Mac model
- Subject: Re: Identifying a specific Mac model
- From: Marek Hrušovský <email@hidden>
- Date: Tue, 15 Sep 2015 20:54:19 +0200
I am just curious, is there a gold icon in the system or it's a guess that
there should be one ?
On Tue, Sep 15, 2015 at 3:59 PM, 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
>
_______________________________________________
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