• 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: Marek Hrušovský <email@hidden>
  • Date: Wed, 16 Sep 2015 10:38:10 +0200

Many thanks.
What I have discovered is that they track model version as well:

Exported UTI
com.apple.macbook-retina-silver
com.apple.device-model-code
MacBook8,1@ECOLOR=225,225,223

com.apple.macbook-retina-gold
com.apple.device-model-code
MacBook8,1@ECOLOR=235,215,191

com.apple.macbook-retina-space-gray
com.apple.device-model-code
MacBook8,1@ECOLOR=155,158,159
MacBook8,1@ECOLOR=157,157,160

NSImage *image =[[NSWorkspace sharedWorkspace] iconForFileType:
@"com.apple.macbook-retina-gold"];

What's shocking is that they left icons for the new hardware there before
announcement:
E.g this folder contains new watch colors/ iPhone6s/iPhone6s Plus and iPad4
mini (not the TV 4rd)
"
/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle/Contents/Resources
"




On Wed, Sep 16, 2015 at 3:36 AM, John Daniel <
email@hidden> wrote:

> Sure. The path to the new MacBook images is
> /System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MJTlrL7BTqUr.bundle
>
> However, it would be impossible for me to inspect this. Because I am using
> this system function, I could only see it go into this new bundle if I was
> running it on a new MacBook. It does seem to work, but my confidence is
> based more on faith than works.
>
> John Daniel
> email@hidden
>
>
>
> > On Sep 15, 2015, at 4:16 PM, Marek Hrušovský <email@hidden> wrote:
> >
> > Can you please tell us the path?
> > You can load it with mentioned method, then fire Activity, hit the
> inspect button on the process  (sample one line app that shows the icon in
> imageview) and one of those lines should be the icon.
> > Many thanks.
> >
> > On Tue, Sep 15, 2015 at 8:58 PM, John Daniel <
> email@hidden <mailto:email@hidden>>
> wrote:
> > There is a gold icon in the system. I am hopeful that this method will
> retrieve it, if running on a gold MacBook. If not, people are reporting
> that it at least displays a silver MacBook icon and that’s as good as I can
> do on my own.
> >
> > John Daniel
> >
> > > On Sep 15, 2015, at 2:54 PM, Marek Hrušovský <email@hidden
> <mailto:email@hidden>> wrote:
> > >
> > > I am just curious, is there a gold icon in the system or it's a guess
> that there should be one ?
> > >
> >
> >
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden <mailto:
> 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 <
> http://lists.apple.com/>
> >
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden <mailto: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
>
_______________________________________________

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


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>)
 >Re: Identifying a specific Mac model (From: John Daniel <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: Marek Hrušovský <email@hidden>)
 >Re: Identifying a specific Mac model (From: John Daniel <email@hidden>)

  • Prev by Date: RE: NSSplitViewController : not in Interface Builder library?
  • Next by Date: Re: Identifying a specific Mac model
  • Previous by thread: Re: Identifying a specific Mac model
  • Next by thread: Re: Identifying a specific Mac model
  • Index(es):
    • Date
    • Thread