Cocoa Programming with Nu

Tuesday, 27 May 2008

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:

More (2 comments)...

May iPhone Developers' Meetup

Tuesday, 20 May 2008

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:

More...

April iPhone Developers' Meetup

Wednesday, 30 Apr 2008

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.

More...

Building on the Google App Engine

Thursday, 17 Apr 2008

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?

More (1 comment)...

Screen Captures with Nu

Friday, 04 Apr 2008

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.

More...

Two of my favorite words

Wednesday, 26 Mar 2008

Completely off-topic, a weekend exchange on Twitter reminded me of two of my favorite words which I’ve long wanted to use together.

Here’s the result:

Their romance began with elation,
tending to infatuation,
  but she quickly grew weary
  of his earnest but dreary
ergodic osculation.

More (1 comment)...

The correspondence of Nu and Objective-C

Monday, 24 Mar 2008

Here’s a small example that implements the same method in Nu and in Objective-C. In this case, we’ll look at the method that allows us to index arrays with integers, which lets us do things like this:
[Oxygen:~/Desktop/Repositories/Nu] tim% nush
Nu Shell.
% (set a (array 'x 'y 'z))
<NSCFArray:361620>
% (a 1)
y

More...

Helpful Hints for using Nu with Xcode

Sunday, 23 Mar 2008

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.

More...

Older posts: 1 2 3 4 5 6 7 8 9