• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Identifying a specific Mac model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Identifying a specific Mac model
      • From: Uli Kusterer <email@hidden>
    • Re: Identifying a specific Mac model
      • From: Marek Hrušovský <email@hidden>
References: 
 >Identifying a specific Mac model (From: John Daniel <email@hidden>)
 >Re: Identifying a specific Mac model (From: Robert Tillyard <email@hidden>)
 >Re: Identifying a specific Mac model (From: Marek Hrušovský <email@hidden>)
 >Re: Identifying a specific Mac model (From: sqwarqDev <email@hidden>)
 >Re: Identifying a specific Mac model (From: sqwarqDev <email@hidden>)
 >Re: Identifying a specific Mac model (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Identifying a specific Mac model (From: Marek Hrušovský <email@hidden>)
 >Re: Identifying a specific Mac model (From: John Daniel <email@hidden>)
 >Re: Identifying a specific Mac model (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Adding Constraints in Code
  • Next by Date: Working with NSTextFields
  • Previous by thread: Re: Identifying a specific Mac model
  • Next by thread: Re: Identifying a specific Mac model
  • Index(es):
    • Date
    • Thread