Skip to content

jkandzi/Table.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table.swift 📋

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: 1)
    ]
)

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, justus.kandzi@gmail.com

License

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