Tag: JavaScript
-
How Cappuccino handles pass-by-reference APIs in Cocoa.
I’ve been using Cappuccino at work recently and I came across a corner of Objective-J that I previously didn’t know about: how to use enumerateObjectsUsingBlock. One of the nice things about Objective-C is that it has blocks. Blocks allow you to make functions that take other functions as arguments, all while preserving scope. One of…