CocoaPods trunk is moving to be read-only. Read more on the blog, there are 3 months to go.

UIScrollView-Extensions 0.2.0

UIScrollView-Extensions 0.2.0

TestsTested ✗
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jun 2015
SPMSupports SPM ✗

Maintained by Frederik Jacques.



What

An extension on UIScrollView to request on which page the scrollview has halted when you have paging enabled.

scrollView.currentPage

For example in use with a UIPageControl.

func scrollViewDidEndDecelerating(scrollView: UIScrollView) {

   pageControl.currentPage = scrollView.currentPage

}

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

UIScrollView-Extensions is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "UIScrollView-Extensions"

Author

Frederik Jacques, [email protected]

License

UIScrollView-Extensions is available under the MIT license. See the LICENSE file for more info.