XCode 4 (but also iTunes and other Mac apps) provide side or bottom bars that can be shown or hidden with a smooth animation as the user presses a button.
How can I obtain a similar effect in my applications?
XCode 4 (but also iTunes and other Mac apps) provide side or bottom bars
Share
You can use
NSSplitViewto do that. You can have more than 2 subviews in a split view (left|center|right) and you can build a kind of hierarchy for the different bars (center consists of top and lower split views).The show/hide effect is not built in, though. But you should be able to use the
animatorto do that. Most certainly you can also define animations for hiding a view.You could also use the
BWSplitViewof http://brandonwalkin.com/bwtoolkit/ where the show/hide animation is already included.