Transparent layer-backed views

2009-11-15 Thread Zbigniew Sobiecki
Hello, I'm trying to perform some simple animations using CA layers on transparent window and corresponding view. The problem I have is that every time I turn on the layer backing (either through wantsLayer in code, or with IB) the view stops being transparent. I've tried setting layer's

Re: Transparent layer-backed views

2009-11-16 Thread Dave Keck
You need to set the window's background color: [window setBackgroundColor: [NSColor clearColor]]; (Although I'm not sure why this is only necessary when the window's content view is layer-backed.) BTW, slick website and product... wish I knew what it said. :)