• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated?


  • Subject: Re: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated?
  • From: Jim Correia <email@hidden>
  • Date: Thu, 1 Nov 2007 18:30:01 -0400

On Nov 1, 2007, at 6:01 PM, Joachim Deelen wrote:

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?

That method was replaced in alter seeds and GM by -[NSWindow setCollectionBehavior:].


Jim

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated? (From: Joachim Deelen <email@hidden>)

  • Prev by Date: Re: NSAmimatablePropertyContainer property animation troubles...
  • Next by Date: Re: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated?
  • Previous by thread: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated?
  • Next by thread: Re: Why is NSWindow's setCanBeVisibleOnAllSpaces: deprecated?
  • Index(es):
    • Date
    • Thread