• 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: Auto Layout with NSSplitView, NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto Layout with NSSplitView, NSScrollView


  • Subject: Re: Auto Layout with NSSplitView, NSScrollView
  • From: Ken Ferry <email@hidden>
  • Date: Thu, 09 Jan 2014 12:42:59 -0800

On Thu, Jan 9, 2014 at 9:48 AM, Kyle Sluder <email@hidden> wrote:

> To achieve this effect, add a mandatory greater-than-or-equal-to width
> constraint to the subview you want to be collapsible, and implement
> -splitView:canCollapseSubview: to return YES for that subview.
>

Yeah - not too much to it!

BUT, looking quickly at the github project, the delegate is set incorrectly.

The delegate is hooked to the NSApplication instance, while the delegate
methods are implemented in the app delegate.
_______________________________________________

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: 
 >Auto Layout with NSSplitView, NSScrollView (From: email@hidden)
 >Re: Auto Layout with NSSplitView, NSScrollView (From: Fritz Anderson <email@hidden>)
 >Re: Auto Layout with NSSplitView, NSScrollView (From: Andy Lee <email@hidden>)
 >Re: Auto Layout with NSSplitView, NSScrollView (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Help to debug NSPerformService..
  • Next by Date: Re: Help to debug NSPerformService..
  • Previous by thread: Re: Auto Layout with NSSplitView, NSScrollView
  • Next by thread: Re: Auto Layout with NSSplitView, NSScrollView
  • Index(es):
    • Date
    • Thread