Skip to content

Releases: ShawnBaek/Table

Add support for non-square 2D Array tables with headers

03 Jun 17:18
c84787d
Compare
Choose a tag to compare
1.3.4

Merge pull request #8 from Candygoblen123/master

Wrapping function into stream generic

22 Oct 05:12
34e5a9f
Compare
Choose a tag to compare

Support iPad Playground Book

29 Mar 13:01
e64afc3
Compare
Choose a tag to compare

Fix Typo

29 Mar 11:58
Compare
Choose a tag to compare

equalSpacing -> fillEqually

Add Unit Test

29 Mar 09:44
bfefae1
Compare
Choose a tag to compare
Merge pull request #3 from ShawnBaek/UnitTest

Add Unit Test

Support fillEqually

29 Mar 07:14
2bca69d
Compare
Choose a tag to compare

The default distribution is fillProportionally.

print(table: ["Good", "Very Good", "Happy", "Cool!"], header: ["Wed", "Thu", "Fri", "Sat"])
+----+---------+-----+-----+
|Wed |Thu      |Fri  |Sat  |
+----+---------+-----+-----+
|Good|Very Good|Happy|Cool!|
+----+---------+-----+-----+

But It can be set by fillEqually like below

print(table: ["Good", "Very Good", "Happy", "Cool!"], header: ["Wed", "Thu", "Fri", "Sat"], distribution: .fillEqually)
+---------+---------+---------+---------+
|Wed      |Thu      |Fri      |Sat      |
+---------+---------+---------+---------+
|Good     |Very Good|Happy    |Cool!    |
+---------+---------+---------+---------+

Change default spacing

06 Mar 17:17
8e1e5db
Compare
Choose a tag to compare

First Release Version

05 Mar 13:02
Compare
Choose a tag to compare

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

v1.0 Release

05 Mar 12:54
Compare
Choose a tag to compare
Add Basic Test Cases