evadne/RAPageViewController — pull request #11 by IgorMuzyka (2014-08-20 11:14:51+00:00)
Title: Fix to content offset losing one parameter

Used RAPAgeCollectionViewController to present few table view controllers and met that flow layout was telling me all the time that height of object in cell must be less than collectionView height and it's edge insets but that no problem. The problem was that on every time when i use setDisplayIndex collection view moved up and thats because at the lines i changed toContentOffset has no y or x depending on flowLayout direction which resulted it to animate movement to toContentOffset which doesn't have one parameter and that don't seem ok. As a result of these i have no more logging about flowLayout and scrollView contentOffset animated correctly.