Wooji Juice

Articles for March 2008

High Leverage? Why Yes, It Is

I saw this in a recent blog post:

With high-level languages and good libraries, small teams can create great products at a rapid pace. We realized that we could write applications for the desktop in the exact same way. We rewrote SftpDrive from top to bottom in Python, with a GUI in Objective-C. It’s called ExpanDrive, and it took 1/3rd the time that SftpDrive took to develop. — Magnetk Blog via Daring Fireball

Read more...

Cocoa: Glue

OK, by now I think you have everything you need to build a simple application, if you poke about in the APIs a bit to find out the getters and setters to modify a control's data; for instance, doubleValue and setDoubleValue or title and setTitle. There are better ways, and we'll get to those, but still: you can make something that really works, rather than just a mock-up UI.

Read more...

Cocoa Memory Management

(Taking a short break from the Slow March Towards Your First Application, which we'll resume in the next article...)

So, memory management.

Memory management isn't something I actually think about much these days, at least, when doing Mac development. Objective-C 2.0 features garbage collection, and Python has had it for far longer — so PyObjC mostly took care of Objective-C 1.0's memory for you.

Read more...