• 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: Andy Lee <email@hidden>
  • Date: Thu, 09 Jan 2014 16:15:59 -0500

On Jan 9, 2014, at 12:48 PM, Kyle Sluder <email@hidden> wrote:
> Nope. Please see the 10.8 AppKit Release Notes, which enumerate all the
> delegate methods which will kick you out of Auto Layout mode:
>
>> splitView:constrainMinCoordinate:ofSubviewAt:
>> splitView:constrainMaxCoordinate:ofSubviewAt:
>> splitView:resizeSubviewsWithOldSize:
>> splitView:shouldAdjustSizeOfSubview:
>> These methods are incompatible with auto layout. You can typically achieve their effects and more with auto layout.
>
> <https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKitOlderNotes/>

I'd like the docs for each of these methods to mention this.  Ideally, to remove all doubt for the reader, the docs for the other delegate methods would also confirm that it's okay to implement them in the sense that they won't disable Auto Layout.

I'll take a couple of minutes to submit docs feedback... later.  As usual I've now spent time on something immediately after saying I didn't have time to spend. :)

--Andy

_______________________________________________

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: Auto Layout with NSSplitView, NSScrollView
  • Next by Date: Fixed format report document building
  • Previous by thread: Re: Auto Layout with NSSplitView, NSScrollView
  • Next by thread: Fwd: Re: Auto Layout with NSSplitView, NSScrollView
  • Index(es):
    • Date
    • Thread