ApplikeySolutions / VegaScroll

↕️ VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9.
https://applikeysolutions.com
MIT License
2.94k stars 178 forks source link
animation flowlayout ios iphone-x scroll swift tiles uicollectionview xcode

ios ios Swift 3.0.x GitHub license Twitter

Made by Applikey Solutions

Find this project on Dribbble

Also check another flowlayout for UICollectionView: https://github.com/ApplikeySolutions/GravitySlider

VegaScrollFlowLayout

Table of Contents

  1. Purpose
  2. Supported OS & SDK Versions
  3. Installation
  4. Usage
  5. Demo
  6. Release Notes
  7. Contact Us
  8. License

Purpose

VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9.

Supported OS & SDK Versions

Installation

CocoaPods

Add the following line in your Podfile.

pod 'VegaScrollFlowLayout'

Carthage

If you're using Carthage you can add a dependency on VegaScroll by adding it to your Cartfile:

github "AppliKeySolutions/VegaScroll"

Usage

import VegaScrollFlowLayout

let layout = VegaScrollFlowLayout()
collectionView.collectionViewLayout = layout
layout.minimumLineSpacing = 20
layout.itemSize = CGSize(width: collectionView.frame.width, height: 87)
layout.sectionInset = UIEdgeInsets(top: 10, left: 0, bottom: 10, right: 0)

Demo

example-plain

Release Notes

Version 1.0

Contact Us

You can always contact us via github@applikeysolutions.com We are open for any inquiries regarding our libraries and controls, new open-source projects and other ways of contributing to the community. If you have used our component in your project we would be extremely happy if you write us your feedback and let us know about it!

License

The MIT License (MIT)

Copyright © 2017 Applikey Solutions

Permission is hereby granted free of charge to any person obtaining a copy of this software and associated documentation files (the "Software") to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.