• 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
Re: debugging questions on NSScroll view with NSSpllit view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging questions on NSScroll view with NSSpllit view


  • Subject: Re: debugging questions on NSScroll view with NSSpllit view
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 05 Dec 2015 15:41:13 -0600

Hi,

On Dec 5, 2015, at 3:16 PM, email@hidden wrote:
>
> I am trying to develop a Finder app like the mac Finder.  I am using NSSplit view adding one vertical panel at a time dynamically in the code.
> basically, trying to simulate file directories drill down.  I am also having an NSScroll View to contain the NSSplit view as its document view so that i can use the horizontal scroll bar to scroll the nssplit view horizontally.
>
> My problem is, as the nssplit view grows one panel at a time and eventually exceed the width of the document view, the horizontal scroll bar does NOT appear when I try to use the mouse to scroll horizontally.  Each panel in the split view is a NSTableView.
>
> So, any hints on how to debug this ? I just want to start from somewhere and debug into it.

First, there's a built-in control for a view like the Finder's Columns view: NSBrowser.  It's fairly old and crufty, but it might be easiest to start with that.
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Browser/Browser.html

Second, if you want to keep working on the approach you're using, you need to tell us if you're using auto layout or not.  If you are, what constraints, if any, have you established between the split view and the enclosing scroll view's clip view?

In general, how did you set up the view hierarchy?  Did you build it programmatically or in Interface Builder?  Can you provide a text diagram of the hierarchy?

Regards,
Ken


_______________________________________________

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


References: 
 >debugging questions on NSScroll view with NSSpllit view (From: email@hidden)

  • Prev by Date: debugging questions on NSScroll view with NSSpllit view
  • Next by Date: Re: UIView underlying rects for drawRect
  • Previous by thread: debugging questions on NSScroll view with NSSpllit view
  • Next by thread: Sheet segue from menu in OS X?
  • Index(es):
    • Date
    • Thread