Swiftpack.co - mihaimihaila/GridLayout as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by mihaimihaila.
mihaimihaila/GridLayout 0.2.6
Swift library for displaying UI elements using a grid layout
⭐️ 8
🕓 3 years ago
iOS
.package(url: "https://github.com/mihaimihaila/GridLayout.git", from: "0.2.6")

GridLayout is a Swift library for displaying UI elements in a grid like structure. GridLayout takes inspiration from the Windows layout panel called Grid.

A grid is a view with rows and columns. It contains subviews which can be placed on any row or column.

Documentation

Getting started

Alignment

Fill

Ratio rows and columns

Auto rows and columns

Items spanning multiple rows and / or columns

Several dozens KIF tests validate the current layout and their output can be found here.

GitHub

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

Release Notes

Convenience builder for rows and columns
5 years ago

A new builder method has been added that uses enums to define rows and columns.

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