0

Does anyone know what Apple Mail is written in?

I'm trying to determine what component it uses to render HTML, is it using the Webview Class?

Are there any other options to render HTML when building OS X applications?

Abs
  • 56,052
  • 101
  • 275
  • 409

1 Answers1

2

It's an Objective-C/Cocoa app and it's using WebView.

I know secondhand (from a developer who was tracking down bugs in his app and comparing behavior to Mail) it takes advantage of some undocumented calls to accomplish certain things. But for the most part it's the same WebView that you've got access to.

If you'd rather render HTML a different way, you could check out Gecko, the engine/library that Firefox and Camino are based on.

benzado
  • 82,288
  • 22
  • 110
  • 138
  • Thanks you benzado for confirming! – Abs Feb 28 '12 at 19:33
  • 1
    Note that embedding, which is the support for including Gecko as a component of a native application (such as Camino) is no longer supported. So unless you are willing to build your entire application on Mozilla's platform, including using XUL for your UI, Gecko is not going to be a good choice. – smorgan Feb 29 '12 at 13:41