Terminal Kit - Console UI toolkit for Swift applications
This is a simple UI Toolkit for Swift, a port of my gui.cs library for .NET. While I originally wrote gui.cs, it has evolved significantly by the contributions of Charlie Kindel (@tig), @BDisp and various other contributors - this port is bringing their work.
This toolkit contains various controls for build text user interfaces using Swift.
You can checkout the documentation
From the command line:
$ swift build $ swift run
From Xcode, if you want to debug, it is best to make sure that the application that you want to Debug (in this project, the "Example" target is what you want) has its Scheme for Running configured like this:
* Run/Info: Launch "Wait for Executable to be launched"
Then, when you run, switch to a console, and run the executable, I have my global settings for DerivedData to be relative to the current directory, so I can run it like this:
You can change this from Xcode/Preferences/Locations.