iTunes Style - Graph Controller
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
iTunes Table Header.xcodeproj
iTunes Table Header
iTunes Table HeaderTests

Web Graph Controller

A complete collection of subclasses and controller classes to make any WebView a custom iTunes style horizontal graph. You can style this graph with CSS all transitions and animations are done via CSS3. No images required.

These graphs are generated by CSS & CSS SVG code only all values are passed via Javascript to a webview in your Cocoa project.



A subclass of WebView that calculates the sum of the NSTableView and feeds that as int variables into the WebView where CSS3 take the data and dynamically draw the graph.


Sample Application - iTunes Graph Style

Included is a Sample Application that shows you how to connect all the pieces and allows you to play with the data in the tableview and see it drawn in the graph view below. Enjoy!


Interested in seeing this expand, improve and move to Swift? Pull / Push requests appreciated

Attribution - For the CSS SVG Graph Code