TextTable v1.0.0-alpha.0 Release Notes

Release Date: 2016-08-13 // over 7 years ago
  • What's New

    • ๐Ÿ’ฅ Breaking change: completely re-written API. No more conforming to a protocol, instead a TextTable class is used in a similar way to NSFormatter. This offers much more flexibility.
    • Many more output formats. Similar to what you get from Python's tabulate lib.

    Known Issues

    • ๐ŸŽ No attempt at optimizing performance has been made yet. Even when widths are provided, an expensive calculation is still performed.
    • No escaping is being done. None of the formatters even attempt to sanitize the input strings.
    • ๐Ÿ‘ Center alignment not supported. This will result in a fatalError().
    • โœ… It should be possible to create columns without headers, but this hasn't been tested and likely doesn't work yet.

    SPM Dependency Snippet

    .Package(url: "https://github.com/cfilipov/TextTable", Version(1, 0, 0, prereleaseIdentifiers: ["alpha", "0"]))