> Le 14 sept. 2015 à 15:53, John Daniel <etresoft.apple.li...@icloud.com> a > écrit : > > Thanks for the responses. Unfortunately, Apple is way ahead of all of us. > > The “Model Identifier” (MacBook8,1 et al.) is not sufficient to identify a > particular model. It only identifies general families of models. All you have > to do is go to My OWC (http://eshop.macsales.com/MyOWC/ > <http://eshop.macsales.com/MyOWC/>), pick MacBook Pro, and look at the > options. > > The system images are where they should be. I don’t understand Apple’s > reasoning, but that is where Apple wants them. > > I don’t know if Apple even tracks the colour of the retina MacBooks. I don’t > have one myself. I haven’t been able to find a serial number online. The > serial number generator scripts posted online don’t generate valid serial > numbers for this model. > > Scraping the Apple self-service warranty page might work, but I don’t have > any MacBook serial numbers for testing. I really don’t want to parse HTML. > Even so, people seem to treat serial numbers as personal information and > might freak out if I start sending them over the internet. If I had a few > serial numbers for testing, I would know more - or at least something. > > I do extract the last 4 characters and send them to Apple’s support web > services to get the “marketing name” like "MacBook (Retina, 12-inch, Early > 2015)”. But those names don’t seem to include colour. I know of a few > different queries for Apple’s services for technical specifications, possible > memory upgrades, OS name, and this marketing name. This is a true web service > that returns parseable XML. I don’t know if there is any query that will give > me the machine icon. >
If you just want to current machine icon, just use + [NSImage imageNamed:NSImageNameComputer] _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com