Flip a window just like in Dashboard

Tags: NSWindow

intui — 2007/07/30

A silly little sample app that replicates Dashboard's "flip over a window to see its back side" effect. I'm doing all of this manually (NSAffineTransform seems to only let you rotate and scale stuff), so it isn't blazingly fast, but maybe it's of use to someone.

For what it's worth the actual code is in a category on NSWindow, so you should be able to copy this and use it fairly painlessly in your own apps. Just remember to credit me and I'll let you have it for free.

Contains a built executable so you can try it out right away without having to compile the sources.



Add a new comment or fragment

Fields marked with * are mandatory.


User Name

Fragment (zip files only)

Mac OS X Version

License

Screenshot

Comment * Help

Password (if you plan to edit this entry later)