Export to GitHub

jscocoa - issue #60

Bridge in NSString, NSNumber, NSArray, NSDictionary ?


Posted on Apr 30, 2009 by Helpful Lion

var str = 'hello'

str.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding)

-> Won't work.

Can be made to work by adding methods to String.prototype. Best way would be a valueForUndefinedKey in JavascriptCore.

Status: Accepted

Labels:
Type-Defect Priority-Medium