Swift-cout

Using cout in Swift

View the Project on GitHub JayantVarma/Swift-cout

Swift-cout

Using cout in Swift

cout

cout was an alternative added to C++ for printf. It was to help comply with strict typecast code.

Usage Examples

cout << "Hello " << "World"; 
double version = 6.3;
cout << "Xcode " << version;

Why Swift-cout?

You can read this article http://swift.oz-apps.com/2015/05/chaining-cout-in-swift-like-c/ on LearnSwift blog for details on how this works and why Swift-cout was created.

Usage of Swift-cout

 cout << "Hello" << "World"
  var version = 6.3
  cout << "Xcode" << version

TODO List

Contributors

If you want to chime in to add the above functionality, please join in.