StickySlideView
Introduction
SlideView synchronized with ScrollView
Noti
v1.1
Now, you can use estimated height function
It will calculate height dynamically through containerView.contentSize
.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
StickySlideView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'StickySlideView'
Usage
In storyboard
You can connect scrollview by containerView like follow image
In code
import StickySlideView
You can create StickySlideView, like follow
StickySlideView(containerView: self.scrollView)
Also append this in view
view.addSubview(self.stickyView)
Also welcome to PR whenever.
Author
License
StickySlideView is available under the MIT License See the LICENSE file for more info.