Animating UIScrollView frame change without moving contents

2014-02-18 Thread Rick Mann
Hi. I have a UIScrollView that contains an image that might be zoomed in. The top of the scroll view has an autolayout constraint to the bottom of a view that slides down from the top 100.0 pixels when shown. I do this by calling -layoutSubviews in an -animateWithDuration:animations: call after

Re: auto layout, 10.9, and NSScrollView and friends

2014-02-18 Thread jonathan
On 18 Feb 2014, at 17:01, dangerwillrobinsondan...@gmail.com wrote: >> ___ > > Not so fast. > > NSScrollView really doesn't work properly with auto layout. > Not for the document view of it anyway. >> WWDC 2013 Session Video 213: Best Practices for Cocoa animation briefly

Re: auto layout, 10.9, and NSScrollView and friends

2014-02-18 Thread Kyle Sluder
On Tue, Feb 18, 2014, at 09:58 AM, Kyle Sluder wrote: > On Tue, Feb 18, 2014, at 09:01 AM, dangerwillrobinsondan...@gmail.com > wrote: > > > > See the old thread that discusses this well and note that nothing has > > changed about it in 10.9 > > > > http://lists.apple.com/archives/cocoa-dev/2013/

Re: auto layout, 10.9, and NSScrollView and friends

2014-02-18 Thread Kyle Sluder
On Tue, Feb 18, 2014, at 09:01 AM, dangerwillrobinsondan...@gmail.com wrote: > > See the old thread that discusses this well and note that nothing has > changed about it in 10.9 > > http://lists.apple.com/archives/cocoa-dev/2013/Mar/msg00275.html > > NSScrollView really doesn't work properly wit

Re: auto layout, 10.9, and NSScrollView and friends

2014-02-18 Thread dangerwillrobinsondanger
> On 2014/02/18, at 22:52, "jonat...@mugginsoft.com" > wrote: > >> On 18 Feb 2014, at 01:48, Rob Nikander wrote: >> >> Hi, >> >> Last year I did some work in Cocoa and discovered that the auto layout >> stuff was not completely supported in some common AppKit classes. I >> remember having p

Re: auto layout, 10.9, and NSScrollView and friends

2014-02-18 Thread jonat...@mugginsoft.com
On 18 Feb 2014, at 01:48, Rob Nikander wrote: > Hi, > > Last year I did some work in Cocoa and discovered that the auto layout > stuff was not completely supported in some common AppKit classes. I > remember having problems with NSScrollView and NSOutlineView. This message > talks in detail abou