Cocoa: Image Pattern as NSView Background

October 25, 2008 Matteo Bertozzi | Filed Under Cocoa | No Comments

I Really like Apple Mail Note Editor, and today I’ve tried to do something like notes of Mail.app

Mail uses html and css loaded into a WebView (WebKit) to render the background of the window. I’ve used a simple NSView, I’ve Inherited from it and I’ve added a couple of feature to render an image as background pattern. Below you can see the result and here you can Download the Source.

NSWindow with Image Pattern as Background

NSWindow with Image Pattern as Background

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>