Nested NSSplitViews and AutoLayout
I'm an iOS developer dabbling in some desktop development ... I'm creating a simple hierarchical notebook that essentially consists of 4 columns: an outline view, a table view, a table view and then a simple text view (the widths of each should be adjustable). To make this happen, I thought I'd use nested vertical split views. I dropped a root level splitView onto the XIB, pinned it to the window's corners using autolayout and all is well. I added an outline view to the left content view of splitView1 and pinned it to the edges via autolayout and all is well. But now, when I try to add a second splitview to the right hand content view of splitView1, I get a bunch of warnings in IB as soon as I pin it to the edges of splitView1s right content view. Has anyone else experienced this?I know that using autolayout in an iOS UIScrollView can be tricky - and I'm wondering if this is a similar case? Thanks, -Luther ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Nested NSSplitViews and AutoLayout
No! I did not know that. That is working much better for me. Thank you. -Luther On Sat, Sep 27, 2014 at 3:06 AM, Ken Thomases k...@codeweavers.com wrote: On Sep 27, 2014, at 2:46 AM, Luther Baker lutherba...@gmail.com wrote: I'm creating a simple hierarchical notebook that essentially consists of 4 columns: an outline view, a table view, a table view and then a simple text view (the widths of each should be adjustable). To make this happen, I thought I'd use nested vertical split views. Why nested split views? Perhaps you're not aware that a split view can have an arbitrary number of splits. Just drag additional views into the split view as immediate subviews. Basically, a split view arranges all of its immediate subviews. Regards, Ken ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com