javascriptcore Questions
1
Solved
I have one class whose methods and properties are exported using JSExport. In normal cases, it works well. But if the property is the type of some inner class, then it can not be accessed from java...
Beckham asked 8/2, 2016 at 8:40
4
I have a web app that contains a huge amount of generated JavaScript. The memory consumption differs by a factor 6 between running the web app in Chrome on a Desktop compared to running the web app...
Scrutable asked 19/8, 2015 at 14:23
1
We have an app that is mostly a UIWebView for a heavily javascript based web app. The requirement we have come up against is being able to play audio to the user and then record the user, play back...
Brigadier asked 12/11, 2015 at 14:54
1
Solved
Jumping off of this facebook/react-native#1626 GitHub issue, I had a question about setting up a React Native view within an iOS share extension
I posted an example GitHub repo that demonstrates t...
Bunn asked 30/11, 2015 at 3:17
2
So far tvOS supports two ways to make tv apps, TVML and UIKit, and there is no official mentions about how to mix up things to make a TVML (that is basically XML) User Interface with the native cou...
Maffa asked 12/10, 2015 at 12:47
3
Solved
I am trying to use one of iOS7 new features, the JavaScriptCore Framework. I can successfully output a helloWorld string from Javascript, but what I'm interested in, is doing HTTP POSTs in Javascri...
Konstance asked 18/11, 2013 at 16:42
2
Solved
I've been working on a proof of concept app that leverages two-way communication between Objective C (iOS 7) and JavaScript using the WebKit JavaScriptCore framework. I was finally able to get it w...
Tropology asked 11/2, 2014 at 22:21
1
Solved
If I define a function
inc = function(x) { return x + 1 }
and make a nested invocation of it
inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(inc(1)))))))))))))))...
Transformism asked 19/12, 2014 at 14:40
2
Solved
I've been trying to figure out how to use JavaScriptCore in swift. I'm running into problems however when I have to deal with blocks as arguments, seems like the block is run immediately and the ar...
Tracay asked 6/7, 2014 at 12:12
1
Given an Node.js module that does not rely on any Node.js functionality except modules (export/require) how do I access its functions from Objective-C or Swift using JS core?
Example "module":
v...
Boice asked 29/6, 2014 at 14:45
1
Solved
I am using the JavaScriptCore framework that was introduced in iOS 7. My app has an iOS 6.0 deployment target. I am linking the app with JavaScriptCore.framework (which is by default in required ...
Pendant asked 7/5, 2014 at 9:58
2
Solved
I'd like to define a function in the JavascriptCore context that takes a variable amount of arguments.
Something like this:
JSVirtualMachine* virtualMachine = [[JSVirtualMachine alloc] init];
JSC...
Exploitation asked 11/2, 2014 at 3:49
1
JavaScriptCore contains debugger package which is written in c++.
This is the link of debugger package.
Can we use this debugger for debugging java script from eclipse or xocde,
Any reference or...
Bittern asked 10/12, 2013 at 10:40
2
Solved
DISCLAIMER: This is a long post, but could prove very valuable for those grappling with using the new ObjectiveC JavascriptCore framework and doing asynchronous coding between ObjC and JS.
Hi ther...
Interceptor asked 15/1, 2014 at 20:33
2
Solved
How does the JavaScriptCore framework translate JavaScript objects into Objective-C objects, and vice versa? Does the bridge use the same binary protocol to communicate for both of the target langu...
Litigable asked 13/4, 2014 at 19:38
1
Solved
I have a UIWebView that utilizes JavaScriptCore. I'm trying to call an ObjC function from an web page. However, the function needs to be call asynchronously, so I'm passing in a callback function t...
Wringer asked 1/4, 2014 at 15:31
1
Solved
Using the JSContext from a UIWebView I have created a javascript function that is implemented as an Objective C block:
JSContext *js = ... //get contect from web view
js[@"aFunc"] = ^(JSValue *aSt...
Nibbs asked 5/4, 2014 at 4:21
1
Solved
JavascriptCore is a new framework supported in iOS7. We can use the JSExport protocol to expose parts of objc class to JavaScript.
In javascript, I tried to pass function as parameter. Just like ...
Norenenorfleet asked 24/3, 2014 at 10:45
2
Solved
I've just had a crash log from a customer's device, and it's crashing here:
dispatch_async(dispatch_get_global_queue(0, 0), ^{
JSContext *javaScriptContext = [[JSContext alloc] init];
Here's t...
Hills asked 16/1, 2014 at 10:56
1
Solved
I am loading a url in the webview which has below HTML and javascript function call. Now I am looking into when user touches submit button in webview it should call any method in viewController. We...
Chauchaucer asked 7/2, 2014 at 11:6
3
Solved
I just discovered a new framework available in iOS7: JavaScriptCore.
It looks awesome, but how can I access the runtime/context of a UIWebView?
Janina asked 29/10, 2013 at 16:40
5
This is in response to this blog:
http://blog.bignerdranch.com/3784-javascriptcore-and-ios-7/
Thoughts from the iOS devs on SO?
Fideliafidelio asked 20/9, 2013 at 15:31
© 2022 - 2024 — McMap. All rights reserved.