Cocoa - NSWindow animation when displayed?
问题 How would I add some sort of CoreAnimation effect when showing a simple nswindow? Thanks 回答1: I've done an animation like you describe before. However, it wasn't an easy task. Since your animation extends outside the bounds of the window itself, you'll need to render the animation in an oversized, transparent window. When the animation completes, you can order in the real window and remove the transparent one. You'll need an image of the window to use as the content of your animation, so what