I\'m working on an app where having a \"drawer\" on the left-hand side would be very beneficial. I\'m doing some initial testing to see how I would best accomplish this, and I\'
I think your crash had to do with the indeterminate state problems you can get with UIKit whenever you put the main thread under load or are in the middle of a view transition. When you retrieve your values for your mathematical calculation your in the animation block vs outside the block, they are different contexts to access the UIView model, so I'm not surprised in the animation context you getting a memory error in that case.