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 [...]
Posted: February 28th, 2009 under CoCoa.
Comments: 1