SkillAgentSearch skills...

StickySlideView

SlideView synchronized with ScrollView

Install / Use

/learn @tokijh/StickySlideView
About this skill

Quality Score

0/100

Supported Platforms

Zed

README

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</br> 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.

View on GitHub
GitHub Stars20
CategoryDevelopment
Updated1y ago
Forks1

Languages

Swift

Security Score

75/100

Audited on Apr 20, 2024

No findings