Swiftpack.co - rursache/RSLeftAlignedLayout as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by rursache.
rursache/RSLeftAlignedLayout v1.0.1
Left aligned collection view layout
⭐️ 0
🕓 2 years ago
iOS
.package(url: "https://github.com/rursache/RSLeftAlignedLayout.git", from: "v1.0.1")

RSLeftAlignedLayout

Left aligned collection view layout for iOS 9+ (tested up to 15.0)

Install

Use SPM and add https://github.com/rursache/RSLeftAlignedLayout.git

Usage

  • Create your UICollectionView from storyboards or code
  • Import RSLeftAlignedLayout
let leftAlignedLayout = LeftAlignedLayout(scrollDirection: .horizontal, minimumLineSpacing: 16, minimumInteritemSpacing: 16)
collectionView.setCollectionViewLayout(leftAlignedLayout, animated: true)

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

2 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics