My name is Jessica and I am embarking on a Swift journey and am using Swift Programming: The Big Nerd Ranch Guide 2nd. edition with Xcode 10.
The book code snippet is as follows:
var population: Int
population = 5422
Xcode 10 insists of declaring the value when the variable is defined:
var population: Int = 5422
Just wanna share the changes between the book and Xcode 10