Latest 1.1
Homepage https://github.com/tokijh/StickySlideView
License MIT
Platforms ios 9.0
Authors

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'

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.

Latest podspec

{
    "name": "StickySlideView",
    "version": "1.1",
    "swift_version": "4.1",
    "summary": "SlideView synchronized with ScrollView",
    "description": "SlideView synchronized with ScrollView",
    "homepage": "https://github.com/tokijh/StickySlideView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "tokijh": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tokijh/StickySlideView.git",
        "tag": "1.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "StickySlideView/*swift"
}

Pin It on Pinterest

Share This