How can I flip an NSWindow so I can press a button, and the window will "flip" like on Dashboard and the content view of the NSWindow changes.
Asked
Active
Viewed 1,827 times
2
-
See it here http://stackoverflow.com/questions/24567190/nswindow-flip-animation-easy-and-universal/24567191#24567191 – Oleg Uryutin Jul 04 '14 at 05:32
1 Answers
7
Step 1: Center the window on a vertically-aligned fulcrum.
Step 2: Push down on one side.
OK, that's not it. ☺
Mike Lee wrote one and put it in the public domain, and Drew McCormack improved it. Rainer Brockerhoff wrote one, too, and put his under an MIT license. So you have your choice.

Peter Hosey
- 95,783
- 15
- 211
- 370
-
1
-
@auco (plus whoever upvoted your comment): After reaching out to Mike via Twitter and getting responses [1](https://twitter.com/bmf/status/211612192842334209), [2](https://twitter.com/drewmccormack/status/211728938878238720), I've updated the link. – Peter Hosey Jun 10 '12 at 09:06