swiftui-simple-table

0.2.0

SwiftUI table view for iOS and macOS
darrarski/swiftui-simple-table

What's New

v0.2.0

2023-01-29T21:55:09Z

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

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon Apr 29 2024 19:38:41 GMT-0900 (Hawaii-Aleutian Daylight Time)