Swiftpack.co - darrarski/swiftui-simple-table as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by darrarski.
darrarski/swiftui-simple-table v0.3.0
SwiftUI table view for iOS and macOS
⭐️ 15
🕓 44 weeks ago
iOS macOS
.package(url: "https://github.com/darrarski/swiftui-simple-table.git", from: "v0.3.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

GitHub

link
Stars: 15
Last commit: 44 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v0.2.0
1 year ago

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