Introduction X-code

import UIKit

var x: Int = 42
var x = 42
let y = 100

var myString = "Hello"

// Control Flow
if x < 50 {
	print("X is less than 50")
} else {
	print("X is greater than or equal to 50")
}

// Classes
class ViewController: UIViewController {
	// Instance Variables go here
	// Class functions go here
}

// Functions
func printHello(){
	print("Hello")
}

printHello()

func printHelloMessage(helloString: String){
	print(helloString)
}

printHelloMessage("Oi!")