Update to Swift 2.0 .
Wow, lots of changes in Swift 2.0! And all of them great, except for renaming println to print. What's up with that? This is just to get it to compile, we will be trying and throwing errors in no time.
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
import SwiftShell
|
||||
|
||||
println(Process.arguments)
|
||||
print(Process.arguments)
|
||||
|
||||
@@ -4,5 +4,5 @@ import SwiftShell
|
||||
|
||||
for line in open("onetwothree.txt").lines() {
|
||||
// Do something with each line
|
||||
println(line)
|
||||
print(line)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user