开发者

How to implement this ejecting and withdrawing portion of a window like a drawer?

开发者 https://www.devze.com 2023-03-31 14:15 出处:网络
How to implement following effect with Cocoa: <-> User can eject and withdraw right portion of window with a button.

How to implement following effect with Cocoa:

How to implement this ejecting and withdrawing portion of a window like a drawer?

<->

How to implement this ejecting and withdrawing portion of a window like a drawer?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消