Skip to content

lee-leonardo/iOS-D3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published