• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSSplitView similar to Xcode's editor/debug area split view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSSplitView similar to Xcode's editor/debug area split view
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: UIButton not visible
  • Next by Date: KVO on a key path with nil intermediate properties
  • Previous by thread: Re: UIButton not visible
  • Next by thread: Re: NSSplitView similar to Xcode's editor/debug area split view
  • Index(es):
    • Date
    • Thread