NSSplitView similar to Xcode's editor/debug area split view
NSSplitView similar to Xcode's editor/debug area split view
- Subject: NSSplitView similar to Xcode's editor/debug area split view
- From: Chuck Soper <email@hidden>
- Date: Wed, 26 Jun 2013 17:30:18 -0700
- Thread-topic: NSSplitView similar to Xcode's editor/debug area split view
I'm trying to implement an NSSplitView similar to Xcode's editor/debug
area split view. I'm implementing a split view with two views (one above
the other).
Like Xcode, I need my 'Debug Area' view to:
a) Have a minimum height.
b) Show or hide view with animation by clicking a button (or pressing a
key).
c) Show or hide view by dragging the divider bar.
I know a few ways to do this. I'm trying to find the best and easiest way
to implement this. Also, my app requires 10.8.
My main questions are:
1. Should I use NSSplitViewDelegate methods to constrain the height, or
should I add/remove a height constraint (auto layout)?
2. How should I animate the showing or hiding of the 'debug area' view?
Thanks,
Chuck
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden