Hi,
I've only recently started learning Swift programming and my first hurdle is that I cannot get the program to print to the console in x-code? When I press command/shift/C the cursor goes to the output section of x-code but nothing happens. Sorry I'm an absolute beginner. Any help would be appreciated...
Here is my code:
I've only recently started learning Swift programming and my first hurdle is that I cannot get the program to print to the console in x-code? When I press command/shift/C the cursor goes to the output section of x-code but nothing happens. Sorry I'm an absolute beginner. Any help would be appreciated...
Here is my code:
Code:
import UIKit
class ViewController: UIViewController {
overridefunc viewDidLoad() {
super.viewDidLoad()
print("Hello,World!")
//print("Hello", terminator: "")
}
overridefunc didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}
Last edited by a moderator: