Re: Collection Views Breaking

2015-05-21 Thread Luther Baker
...@lists.apple.com wrote: -- Message: 1 Date: Tue, 19 May 2015 23:46:28 -0500 From: Luther Baker lutherba...@gmail.com To: Cocoa Developers Cocoa-dev@lists.apple.com Subject: Collection Views Breaking Message-ID

Re: Collection Views Breaking

2015-05-20 Thread Alex Zavatone
What if you issue the back programatically and then scroll up? It would be interesting to see just what gets unwired here. Have you set an exception breakpoint to tell you exactly what is breaking? On May 20, 2015, at 12:46 AM, Luther Baker wrote: I've got a simple iOS project consisting of 2

Re: Collection Views Breaking

2015-05-20 Thread Bill Monk
Date: Tue, 19 May 2015 23:46:28 -0500 From: Luther Baker lutherba...@gmail.com To: Cocoa Developers Cocoa-dev@lists.apple.com Subject: Collection Views Breaking Message-ID: cal5mv1m-u82zgvr6uacgy+9avn-cc1uo6++xvcfot7sd8qu...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 I've

Re: Collection Views Breaking

2015-05-20 Thread Alex Zavatone
Whaaa? The app throws an exception, but setting an exception breakpoint never gets triggered? Anyway, you may find these helpful. http://loufranco.com/blog/understanding-exc_bad_access http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/ Enabling NSZombies may help you track that

Re: Collection Views Breaking

2015-05-20 Thread Kyle Sluder
On Wed, May 20, 2015, at 01:12 PM, Alex Zavatone wrote: Whaaa? The app throws an exception, but setting an exception breakpoint never gets triggered? EXC_BAD_ACCESS is a hardware exception. It has nothing to do with a software exception (the kind thrown by @throw or +[NSException raise], and

Re: Collection Views Breaking

2015-05-20 Thread Luther Baker
Thanks Alex, I have set an exception breakpoint but it never fires - and I will experiment with popping the second view controller programmatically and scrolling up. I think this has to do with my elementary understanding of how UICollectionViews are reused in this type of transition animation -

Collection Views Breaking

2015-05-19 Thread Luther Baker
I've got a simple iOS project consisting of 2 collection view controllers and a navigation controller. Tapping any item in the first collection view simply pushes the second collection view on the stack. Problem is, when I tap Back and then manually scroll up ... the app crashes with a