Swiftpack.co -  lucamegh/Niagara as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Waterfall collection view compositional layout.
.package(url: "https://github.com/lucamegh/Niagara.git", from: "1.0.0")

Niagara 🚿

Waterfall collection view compositional layout.



Niagara is distributed using Swift Package Manager. To install it into a project, simply add it as a dependency within your Package.swift manifest:

let package = Package(
    dependencies: [
        .package(url: "https://github.com/lucamegh/Niagara", from: "1.0.0")


import Niagara

collectionView.collectionViewLayout = UICollectionViewCompositionalLayout.waterfall { indexPath in
    // resolve item size

Please check out the demo to see how to further customize your waterfall layouts.


Stars: 0
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Niagara 1.0.0
2 weeks ago

The first release of Niagara.

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