Day 4 - What is Swift Type Annotation? Why Do We Need It? When Do We Use It?
·572 words·3 mins
Swift can assign the type of the constant (let) or variable (var) we create based on the initial value we give it.