StickySlideView icon indicating copy to clipboard operation
StickySlideView copied to clipboard

SlideView synchronized with ScrollView

StickySlideView

Swift 4.1 CI Status Version License Platform

Introduction

SlideView synchronized with ScrollView

sample

Noti

v1.1

Now, you can use estimated height function It will calculate height dynamically through containerView.contentSize.

estimatedSample

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'

v1.1.1 Support Carthage

github 'tokijh/StickySlideView'

Usage

In storyboard

You can connect scrollview by containerView like follow image sample

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.