Latest 0.1.0
Homepage https://github.com/jkandzi/Table.swift
License MIT
Platforms osx 10.9, requires ARC
Authors

Table.swift :clipboard:

Build Status
codecov.io
Carthage compatible
SPM ready
Version
License
Platform

Example

import Table

Table().put([["A", "B", "C"],
    ["X", "XX", "XXX"],
    ["Hello", "World", "!"]])

Creates the following output:

+-------+-------+-----+
| A     | B     | C   |
+-------+-------+-----+
| X     | XX    | XXX |
+-------+-------+-----+
| Hello | World | !   |
+-------+-------+-----+

Installation

CocoaPods

Table.swift is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "Table.swift"

Carthage

To integrate Table.swift into your Xcode project using Carthage, specify it in your Cartfile:

github "jkandzi/Table.swift"

Run carthage update to build the framework and drag the built Table.framework into your Xcode project.

Swift Package Manager

To install with the Swift Package Manager, add the following in your Package.swift:

import PackageDescription

let package = Package(
    name: "MyProject",
    dependencies: [
        .Package(url: "https://github.com/jkandzi/Table.swift", majorVersion: 0)
    ]
)

Manual

You can also copy the Table.swift file into your Xcode project.

Contribution

You are welcome to fork and submit pull requests.

Author

Justus Kandzi, [email protected]

License

Table.swift is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Table.swift",
    "version": "0.1.0",
    "license": "MIT",
    "summary": "Instantly draw beautiful tables to your terminal.",
    "description": "Pretty print two-dimensional arrays to your terminal.",
    "platforms": {
        "osx": "10.9"
    },
    "homepage": "https://github.com/jkandzi/Table.swift",
    "social_media_url": "http://twitter.com/justuskandzi",
    "authors": {
        "Justus Kandzi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jkandzi/Table.swift.git",
        "tag": "0.1.0"
    },
    "source_files": "Sources/*.swift",
    "requires_arc": true,
    "module_name": "Table"
}

Pin It on Pinterest

Share This