Add JavaScriptCore as new communication mechanism #1

Merged
merged 1 commit into from Jan 13, 2014

Conversation

Projects
None yet
3 participants
@fe9lix
Contributor

fe9lix commented Jan 6, 2014

Hi! In your blog post, you mentioned that communication with a WebView via JavaScriptCore isn't possible. However, there are solutions (see https://github.com/TomSwift/UIWebView-TS_JavaScriptContext) to get access to the JSContext in a UIWebView and then use that to call JS from ObjC and vice versa. I have added a new mechanism using that method. On my iPad, this is about 4 to 5 times faster than the currently fastest method (location.hash, click).

mihaip added a commit that referenced this pull request Jan 13, 2014

Merge pull request #1 from fe9lix/master
Add JavaScriptCore as new communication mechanism

@mihaip mihaip merged commit c5374b8 into mihaip:master Jan 13, 2014

@mihaip

This comment has been minimized.

Show comment
Hide comment
@mihaip

mihaip Jan 13, 2014

Owner

Thanks! I'll update the post with results for this mechanism.

Owner

mihaip commented Jan 13, 2014

Thanks! I'll update the post with results for this mechanism.

@TomSwift

This comment has been minimized.

Show comment
Hide comment

Neat!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment