Monday, May 18, 2009

Cocoa in CBS' Numbers

In the final episode of Numbers on CBS, Apple's Cocoa language appears on screen. Amita is kidnapped and forced to hack into a bank. On occassion, her code appears on screen and it's clearly Objective-C! Aside from the standard Objective-C notation, [object method], there are clear Apple Cocoa classes and methods, such as NSArray and addSubview. Not only that, but the code is available online!

See Safari Books Online!

So, it's not only Cocoa, but it's iPhone code!

I'm used to Apple hardware spotting on TV, but this is my first Cocoa spotting.

Update: As it turns out, the link above will get you to the right section, but does not display the source code. If you do a search on "// recover switchview" you'll then find the source code.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home