Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JavaScriptCore as new communication mechanism #1

Merged
merged 1 commit into from Jan 13, 2014
Merged

Conversation

@fe9lix
Copy link
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
Add JavaScriptCore as new communication mechanism
@mihaip mihaip merged commit c5374b8 into mihaip:master Jan 13, 2014
@mihaip
Copy link
Owner

mihaip commented Jan 13, 2014

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

@TomSwift

This comment has been minimized.

Copy link

TomSwift commented on 084c60c Jan 31, 2014

Neat!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.