Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Ben Kennedy
On 04 Feb 2015, at 1:08 pm, Alex Zavatone wrote: > Thanks Kyle. The thing that scares me here is that I have no idea why this > started failing and why it stopped, so I'm afraid it could stop working at > any time without knowing why. Kyle already gave you a likely reason: you have a height c

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Alex Zavatone
Thanks Kyle. The thing that scares me here is that I have no idea why this started failing and why it stopped, so I'm afraid it could stop working at any time without knowing why. I can see this constraint on the scroll view itself, and I think you hit the nail on the head here. I'll pass thi

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Alex Zavatone
We haven't moved to Xcode 6 yet. This isn't in Xcode 5, is it? Sent from my iPad. Please pardon typos. On Feb 4, 2015, at 1:06 PM, Jonathan Mitchell wrote: > > >> On 4 Feb 2015, at 16:26, Alex Zavatone wrote >> >> How would those of you who are much better versed in autolayout than I go >

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Michael Crawford
If debugging your code or interface builder layouts don't help, it could be a corrupt Xcode project. I have at times been able to fix my .pbxproj documents by editing them with a text editor. If you study them for a little while you can obtain some insight as to what the format means. There exis

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Jonathan Mitchell
> On 4 Feb 2015, at 16:26, Alex Zavatone wrote > > How would those of you who are much better versed in autolayout than I go > about resolving this type of issue that crops up when the XIB with > constraints hasn't been modified in the first place and there is no code > affecting the XIB's c

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Kyle Sluder
On Wed, Feb 4, 2015, at 12:24 PM, Alex Zavatone wrote: > Here's the error log: > > Error message follows. > UIView property translatesAutoresizingMaskIntoConstraints) > ( > " V:[UIScrollView:0x16d8df50(>=1368)]>", This looks like it might be the culprit. Constraints applied to the scr

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Alex Zavatone
Here's the error log: Error message follows. UIView property translatesAutoresizingMaskIntoConstraints) ( "=1368)]>", "", "", "", "" ) Will attempt to recover by breaking constraint =1368)]> Break on objc_exception_throw to catch this in the debugger. The methods in the

Re: Resolving bizarre autolayout crashes.

2015-02-04 Thread Ben Kennedy
On 04 Feb 2015, at 8:26 am, Alex Zavatone wrote: > Looking at the UIScrollView to which they applied, I couldn't make heads or > tails of how the constraints listed in the console translated into the > constraints on the only UIScrollView in the XIB. I don't suppose you saved a copy of the log