I experienced a strange response from xcode 9.3 running swift 4.1 while running this code:
let old = "not an int"
let new: Int! = Int(old) ?? 2
print(new)
print(new!)
Response is some(2)
and 2
(with forced unwrapping) (check image below).
Where is this some
coming from? (please explain or provide reference to read more about some
)