How to implement following effect with Cocoa:
<->
User can eject and withdraw right portion of window with a button.
Update: How to draw th开发者_开发问答e vertical line in the tool bar?
This is actually part of the window. When you click the button, the window and view just resize into their appropriate positions.
Check out NSViewAnimation.
精彩评论