TooTallNate / NodObjC

The Node.js ⇆ Objective-C bridge

Home Page:http://tootallnate.github.io/NodObjC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More/better examples of "blocks" usage/syntax.

mralexgray opened this issue · comments

This is badly needed, so here... I'll start it off. In coffeescript, no less..

the highlight being...

signature = ['v',['?', '@','I','^B']]
blockDecl = ((self, obj, index, bool) -> console.log "#{obj} == #{index}")

array 'enumerateObjectsUsingBlock' : $ blockDecl, signature