No description, website, or topics provided.
JavaScript Objective-C CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
D3JS
D3iOS.xcodeproj
D3iOS
D3iOSTests
.gitignore
README.md

README.md

#Using D3 in iOS#

##Reason## D3 has a performance hit is because of CPU throttling. The CPU throttles typically when the CPU has to ‘animate’/bezier paths at least lots of them (GPU cannot used for WebViews would GPU even be performant for it anyway?).

The goal of this is to produce something pretty lightweight and can serve a bunch of purposes. I am going to be doing this is both UIWebView (pre-iOS8) and with WKWebView for (post-iOS8).

I am going to try to make this project reusable as possible. WKWebView is not well documented, and I believe having a good example (possible Framework in the future) will be beneficial to all.

##To avoid performance issues## According to this article, the performance his is because of redrawing. This can be avoided by using HTML rather than SVGs.

##Work used to create this##

##Honorary Mentions##

  • WebViewJavascriptBridge (Supports both WebKit and UIWebView).
  • Neunode, too focused on the 'server' for this project, but would love to play with it.