The iOS framework that grows only as fast as its documentation
Objective-C Mathematica Python HTML JavaScript Ruby Other
Latest commit 68252d5 Sep 15, 2017 @stephanemoore stephanemoore [paging-scroll-view] Fix an exception thrown when NIPagingScrollView …
…rotates with a zero frame 💥

When -pageScrollableDimension returns 0, _percentScrolledIntoFirstVisiblePage ends up as NaN because of divide-by-zero operations in willRotateToInterfaceOrientation:duration:. This patch guards against these divide-by-zero errors.

Also add tests to catch exceptions thrown when rotating NIPagingScrollView with a zero frame.