Here’s a step-by-step tutorial from Joseph Dixon that provides details on the basics of using JavascriptCore on the iOS platform in which you’ll build a simple contact management app using both Javascript and Objective-C.

Specifically you’ll learn how to:

– Get a JavascriptCore context (JSContext)
– Define and call Javascript functions
– Call your Objective-C code from Javascript
– Work with the JSContext of a UIWebView