SwiftUI table view for iOS and macOS

What's New



What's Changed

Full Changelog: v0.1.2...v0.2.0

SwiftUI Simple Table

Swift v5.7 platforms iOS, macOS

📝 Description

SwiftUI table view, which works on iOS and macOS.

  • ✅ Simple to use (check out included examples).
  • ✅ Displays all columns on iOS, even when the horizontal size class is compact.
  • ✅ Supports vertical and horizontal scrolling (or no scrolling at all if that's what you need).
  • ✅ Supports "sticky" headers (with .simpleTableHeader() view modifier).
  • ✅ Allows configuring column/row size: equal heights, equal widths, or constrained aspect ratio.

🏛 Project structure

swiftui-simple-table (Swift Package)
 └─ SimpleTable (Library)

📖 Usage

Use Swift Package Manager to add SimpleTable as a dependency to your project.

Check out included examples:

▶️ Colors table example

Colors table example

▶️ Shapes table example

Colors table example

▶️ Multiplication table example

Multiplication table example

▶️ People table example

Multiplication table example

🛠 Develop

  • Use Xcode (version ≥ 14).
  • Clone the repository or create a fork & clone it.
  • Open Package.swift in Xcode
  • Use SimpleTable scheme for building the library.
  • If you want to contribute:
    • Create a pull request containing your changes or bugfixes.

☕️ Do you like the project?

Buy Me A Coffee

📄 License

Copyright © 2023 Dariusz Rybicki Darrarski

License: MIT


  • Swift Tools 5.7.0
View More Packages from this Author


  • None
Last updated: Mon Nov 20 2023 15:23:43 GMT-1000 (Hawaii-Aleutian Standard Time)