UIScrollView that smooth scrolls on its own. Pretty Animation!
- Download and Import AnimatedScrollView.swift in your existing project.
- Assign it as a class to your regular UIScrollView or create a new instance.
- Call animate method.
In project directory:
pod init
Paste following:
pod 'AnimatedScrollView', :git => 'https://github.com/ShivangDave/AnimatedScrollView.git', :tag => '1.0.2'
Install:
pod install
let scrollView = AnimatedScrollView()
scrollView.animate(self.view, "Image.jpg", true)