The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Add support for non-square 2D Array tables with headers
46 weeks ago
Wrapping function into stream generic
1 year ago
Thanks @stefjen07
https://github.com/ShawnBaek/Table/pull/7
Support iPad Playground Book
4 years ago
https://github.com/ShawnBaek/Table/pull/4
equalSpacing -> fillEqually
Add Unit Test
4 years ago
Support fillEqually
4 years ago
The default distribution is `fillProportionally`.
```swift
print(table: ["Good", "Very Good", "Happy", "Cool!"], header: ["Wed", "Thu", "Fri", "Sat"])
```
```swift
+----+---------+-----+-----+
|Wed |Thu |Fri |Sat |
+----+---------+-----+-----+
|Good|Very Good|Happy|Cool!|
+----+---------+-----+-----+
```
But It can be set by `fillEqually` like below
```swift
print(table: ["Good", "Very Good", "Happy", "Cool!"], header: ["Wed", "Thu", "Fri", "Sat"], distribution: .fillEqually)
```
```swift
+---------+---------+---------+---------+
|Wed |Thu |Fri |Sat |
+---------+---------+---------+---------+
|Good |Very Good|Happy |Cool! |
+---------+---------+---------+---------+
```
Change default spacing
4 years ago
use fill
First Release Version
4 years ago
Table is helper function to print table.
Support data type is Int, Double, and String.
- 1D Array
- 2D Array
- Dictionary
Support header of table
Support terminator