Conversion Int from a String in Swift

let strNumber = "42"
let number = Int(strNumber)!