You are viewing a single comment's thread. Return to all comments →
Not working for me either with following code:
func stringToInt(inputString: String) throws -> Int { // Write your code here if let num = Int(inputString) { return num } throw StringToIntTypecastingError.BadString }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 16: Exceptions - String to Integer
You are viewing a single comment's thread. Return to all comments →
Not working for me either with following code: