I'd like to write a native Mac application. Instead of using the standard Mac GUI library (Cocoa?), though, I'd like to code the GUI using web technologies (HTML, CSS, Javascript). The main reason for developing with HTML/CSS/JS is that I'd like to use the d3.js data visualization library. The app's primary function is to visualize a large embedded database.
I've found an answer here on SO that explains how to embed a WebView in a Cocoa app. This is helpful, but not exactly what I'm looking for. My WebView doesn't need to access the internet, it just needs to render HTML/CSS/JS that's generated locally by my app.
Can anyone provide a code snippet that shows how to send HTML/CSS/JS from a desktop app to an embedded WebView? Is it possible to do this without running a local webserver?
I've got some experience writing web apps, but I'm new to mac programming.
Thanks in advance for your help!