Main menu:

Site search

 

February 2009
M T W T F S S
« Dec   May »
 1
2345678
9101112131415
16171819202122
232425262728  

Categories

Archives

Links:

Archive for February, 2009

Layer Backed Views and improving drawing speed

A few evenings ago I watched the “Session 401 - Leveraging Cocoa’s Layer-Backed Views” from WWDC 2008 again. Watching it, I concluded that just adding this line of code for every NSView could give a nice speed boost in drawing the content of the NSView.

@import “/blog/wp-content/themes/wp-andreas01/coloring-halloween.css”;

[self setWantsLayer:YES];

To find out, I wrote a simple test application [...]