Cocoa Programming with Nu
Late last week I got a copy of the new edition of Aaron Hillegass’ Cocoa Programming for Mac OS X, and since then I have been porting examples from selected chapters to Nu. To organize and share the results, I posted a git repository and since then, Adam Solove and Jonathan Yedidia have pitched in to help with the conversions.
So far, we’ve covered 12 of the 33 chapters that contain code examples, and I hope to get the rest converted in the next few weeks.
If you’d like to contribute, get the source for the original examples from Aaron’s Big Nerd Ranch site, and after you’ve finished a conversion, grab a github account, fork my repository, commit and push your changes up to your fork, and then send me a pull request.
To make things easier, here are some tips for converting existing Objective-C projects to Nu:
May iPhone Developers' Meetup
Thanks everyone for another great meetup. Michael Mace hit it out of the park with an incredibly informative and interactive presentation in front of a probing audience: I’m sure everyone lost count of the questions he was asked, and they all seemed to fit the flow of his presentation. Great presentation, great audience.
From the announcements, here is my list of important events for iPhone developers in the SF Bay area:
April iPhone Developers' Meetup
On Monday we held our first Silicon Valley iPhone Developers’ Meetup, titled Creating Opportunities and Applications on the iPhone. Thanks to everyone who attended for making it a great evening of information and networking, and especially Ben Stiglitz, Warren Stringer, and Chi-Hua Chien.
Building on the Google App Engine
Last week Google announced its Google App Engine, a hosting service that makes it very easy to write interesting web applications that run on Google’s servers. To try it myself, I decided to write a small photoblogging application. The result is here. It uses Nu on the client side to capture pictures from an Apple camera and automatically uploads them to my web application, which is written in Python and running on the Google App Engine.
Here are some first impressions from working with the App Engine. It’s not an introduction to the App Engine; for that see Google’s site and many other blog posts. Instead, it’s part wisdom, part rant. Ready?
Screen Captures with Nu
Here is a Nu version of Marcus Crafter’s RubyCocoa screen capture script. It doesn’t add anything new to Marcus’ script; it just shows how the same underlying interfaces can be used from Nu.
Two of my favorite words
The correspondence of Nu and Objective-C
[Oxygen:~/Desktop/Repositories/Nu] tim% nush Nu Shell. % (set a (array 'x 'y 'z)) <NSCFArray:361620> % (a 1) y
Helpful Hints for using Nu with Xcode
While it’s not my favorite environment, it’s certainly possible to use Nu from within Xcode. That’s especially useful for platforms that have undocumented dependencies on Xcode. Here are some tips.