“One of the most frequently used Cocoa classes is NSImage which, as the name suggests, is all about displaying and manipulating image data. The imageNamed: method of this class retrieves an image reference for you – provided that you know the name of the image you’re after. Many of the images that can be retrieved via the imageNamed: method have well documented names, but there’s a lot of stuff in there that’s not well-known. It’s those images – including some for Windows – that I’ll be digging into here. I shall also give you source code to a little utility that uses an entirely different mechanism to retrieve images used by OS X.”
Discover OS X’ Hidden Artistic Side
About The Author
Follow me on Twitter @thomholwerda
2008-09-03 9:41 amThom Holwerda
I’ve been taught in school, as well as at university where I actually study English, that both are correct.
“If a singular noun ends with an /s/ or a /z/ sound (spelled with -s, -se, -z, -ce, for example), practice varies as to whether to add ‘s or the apostrophe alone. In general, a good practice is to follow whichever spoken form is judged better: the boss’s shoes, Mrs Jones’ hat (or Mrs Jones’s hat, if that spoken form is preferred). In many cases, both spoken and written forms differ between writers.”
The ‘x’ is an /s/ sound, and as such, it is okay to omit the ‘s’.
2008-09-03 10:48 amJohann Chua
But OS X is pronounced Oh-Ess-Ten.
2008-09-03 12:31 pmsiride
I was also taught to not put the ‘s’ after s-sounds early on, and then taught the opposite (rather vehementently) later on in HS and college. From a linguistic standpoint, it really makes no sense to leave it off since “‘s” is a clitic (that attaches to a whole phrase), not just some optional or irregular possessive suffix that goes on a single noun.
2008-09-06 10:29 amGoogol
the X can never be an “s” sound because ever since the release of OS “X” people out there are being educated that it is read OS “ten” that is the name of the product, not “OS X” literally — and there is no “S” in “ten”. Therefore the correct writing has to be OS X’s (read: OS ten’s)
2008-09-06 11:52 amachmafooma
Thom– interesting article, but I have to agree with the other grammar nerds here. ‘Mac OS X’ is correctly pronounced ‘Mac OS Ten’ which certainly does not end with an ‘s’ sound. Thus, the correct possessive is ‘Mac OS Ten’s’ or, in written form, ‘Mac OS X’s’.
If the pronunciation was X (like the letter X), then either way would be considered correct. However, ‘The Elements of Style’– which is an excellent little guide on how to write well– says in Rule #1 under ‘Elementary Rules of Usage’ to always end singular possessives in an ‘s, regardless of the final consonant. I personally follow the ‘Elements of Style’ rule, rather than the ‘whatever you want’ rule I was taught in school.
Using an ‘s in this case is probably the best bet, since there are two commonly-used pronunciations of Mac OS X (the correct ‘ten’ and incorrect ‘X’). The ‘s is right in both cases; the ‘ is only right in one of the two.
Anyway, forgive us for nitpicking and keep up the great work :-).
I’m a complete XCode newbie, and can’t figure out how to get Interface Builder to manipulate the window as mentioned briefly in the article, i.e. “drop a NSImageView control onto a window and set the image name to NXdefaulticon.” I’m probably missing something simple…
NeXT was really innovative for the time , imagine, neat features developed years ago still neat today.
..the article was shallow to say the least ..what was the article about? a mac os X image class and its method? hidden or unknown icons?
i must have missed it, what “artistic side” was i supposed to see/get from the article?
In addition to a wide variety of NeXT icons, you’ll also find a full complement of – horror of horrors! – Windows bitmaps. …. It’s a mystery why this set of bitmaps were added to AppKit and why they’re still there.
because openstep did also run on windows nt:
and there was the yellow box of rhapsody:
Edited 2008-09-02 18:08 UTC
Don’t you mean “Discover OS X‘s Hidden Artistic Side”?