Re: Scroll views

2018-01-20 Thread Jeremy Hughes
Hi Quincey, I saw Kyle Sluder’s post some time ago, but it’s quite old and I’m not sure how relevant it is now. My complaint about scroll views is not that they don’t work, but that they’re confusing and I struggle each time I use them. My initial email was an attempt to summarise what I’ve dis

Re: Scroll views

2018-01-19 Thread Quincey Morris
Well, I can’t figure out if IB supports your scenario in Xcode 9.2. In part, IB has some bugs in displaying the correct set of constraints error messages. In some cases, it displays errors for the wrong view; in some cases, it displays out-of-date messages until you rebuild the project, or close

Re: Scroll views

2018-01-19 Thread Jeremy Hughes
> On 19 Jan 2018, at 22:15, Quincey Morris > wrote: > >> Interface Builder complains if I don’t also add vertical constraints, so >> I’ve done that, but made the bottom constraint into a placeholder (“Remove >> at build time”). Your email suggests that I can also make the top constraint >> in

Re: Scroll views

2018-01-19 Thread Quincey Morris
On Jan 19, 2018, at 12:36 , Jeremy Hughes wrote: > > If you add a scroll view in Interface Builder, that’s how it is set up for > you by Interface Builder. You don’t have to add an autoresizing mask or use > it to pin the document edges - because Apple has already done that for you! > So you’r

Re: Scroll views

2018-01-19 Thread Quincey Morris
On Jan 19, 2018, at 04:28 , Jeremy Hughes wrote: > > Summarising: it seems that to get a vertically scrolling view that works as > expected, the content view must be set to be flipped (no way of doing this in > IB) and the flexible-height arrow must be turned off. The top-margin line can > als