ccgus / CocoaScript

JavaScript + the Cocoa frameworks, and then ObjC brackets show up to party as well.
Other
618 stars 58 forks source link

Use block API in CocoaScript #44

Open naan opened 8 years ago

naan commented 8 years ago

Ref #32

I understand that #32 is closed, but not sure that's because it's hard to do async stuff, or supporting block, or both.

I'd like to use block based API like enumerateObjectUsingBlock:. It's not asynchronous, but some of these API does not have alternative API using Objective-C selector, especially newly added APIs.