…ns where the view controller is smaller than expected. fixes #16 on trunk.
By setting this property to NO along with enableBounces to NO a view similar to facebooks can be achieved. For my purposes my stacked view only requires a single view controller so I am not sure how performance will change with multiple stacks
…iewController - Add PSStackedViewSegue subclass of UIStoryboardSegue class - Update PSStackedViewController to set associated object (kPSSVAssociatedStackViewControllerKey) with the root view controller so that the root view controller can use the segue (calling stackController on the root view controller will return the stackController it is in instead of nil)
…block with a zero duration, skip the animation block entirely. This is important as alignStackAnimated gets called indirectly when a PSStackedViewController is deallocated which will result in blocks being evaluated after deallocation, which means crashes on self references.
… list of viewControllers_ before finishBlock is instantiated, otherwise lastController will be deallocated, and finishBlock will hold a reference to a deallocated object at the time that it is instantiated.
previousViewController threw an exception on a null viewController parameter. Which is normally fine, except when dealing with the stacked menu. It would throw this exception any time a drag gesture was sensed. To resolve, I have it check for nil and then return, rather than throw.
…rrect, after the dock-right changes)