Tuesday, 3 June 2014

Swift Programming Language Tutorial One

Lets start with the programming tradition, printing "Hello, world!"


 println("Hello, world")


The above line is a complete line of code in swift. 

In swift:

  • You don't need to import a seperate library for input/output or string handeling.
  • You don't need a main funtion
  • You dont need to write semicolons at the end of every statement.
  • How awesome is that! :)








No comments:

Post a Comment