Question 1:
I am trying to use this D3 example in Xcode. I have my UIWebView set up and working well, but the Javascript is not. I believe it has something to do with the code referencing files on the server on which it was hosted. How can I reference the files with Javascript inside Xcode? More specifically, what filepath should I use?
For example, The main.html
file references a certain D3.chart.js
by saying require ['d3.chart.js']
, will this work in Xcode?