NSArray length property

Discuss the JavaScriptCore Objective-C wrapper/bridge
Post Reply
Posts: 19
Joined: Mon May 12, 2008 9:21 am

NSArray length property

Post by ddribin » Mon May 12, 2008 9:26 am


First off, lemme just say that JSKit is fantastic. I've always found it a bit disappointing that WebScriptObject is only available with a WebView, even now that we have JavaScriptCore. So thanks for writing this! It's something I've wanted, but haven't really had time to work on.

I was playing around, and I noticed that NSArray's passed into JS don't respond to the "length" property. I've got a patch that fixes this, if you are interested.



Post Reply