Skip navigation.
 
mlWhy is NSWindow's setCanBeVisibleOnAllSpaces: deprecated?
FROM : Joachim Deelen
DATE : Thu Nov 01 23:01:43 2007

Hi List,

I'm currently working on an Application, that uses Animation for a 
kind of HUD Window. The Window is visible on all spaces. When hovering 
with the mouse over the window and waiting for some time, the 
animation starts. But after switching to another "Space" (I've spaces 
enabled.) The animation does not occur. Switching back to the space 
where the App was started and the animation first happened, the 
animation works fine again.

Since I want to have the animation occurring on every Space, I found 
the method "setCanBeVisibleOnAllSpaces". After calling the Method with 
YES. The Animations are working on every space: As expected! But 
during compilation I get the warning, that the Message is deprecated. 
Why is this? It does exactly what I need. Or is there a better solution?

regards
Joachim

Related mailsAuthorDate
mlWhy is NSWindow's setCanBeVisibleOnAllSpaces: deprecated? Joachim Deelen Nov 1, 23:01
mlRe: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated? Jim Correia Nov 1, 23:30
mlRe: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated? Charles Steinman Nov 1, 23:33
mlRe: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated? Joachim Deelen Nov 2, 00:30