A waterfall grid layout view for SwiftUI. You can create a grid that displays the elements of the collection by passing your collection of data and a closure that provides a view for each element in the collection. The grid transforms each element in the collection into a child view by using the supplied closure. WaterfallGrid works with identifiable data (like SwiftUI.List). You can make your data identifiable in one of two ways: by passing along with your data a key path to a property that uniquely identifies each element, or by making your data type conform to the Identifiable protocol. To customize the appearance of the grid call the gridStyle function and pass the parameters you want to customize.

Features

  • Irregular grid of content
  • Columns number different per device orientation
  • Spacing and grid padding customizable
  • Horizontal or vertical scroll direction
  • Items update can be animated
  • Requires iOS 13.0+ / macOS 10.15+ / tvOS 13.0+ / watchOS 6.0+

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow WaterfallGrid

WaterfallGrid Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WaterfallGrid!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2023-06-09