Hi guys my name is Alexander, I'm fairly new to programming and I have a basic question regarding
At 4:40 Bucky writes an if statement that only runs when introLabel != nil
And then he writes in that function "introLabel?. ... etc)"
Isn't that introLabel question-mark unnecessary since you only run that function if introLabel is not nil? Will it save work for the compiler if you drop out that question mark in a case like this?
Basic question about not nill in Swift (Swift tutorial 33)
Post a Reply
Nothing to see here.
iOS Development / Swift
This forum is for questions, comments, and general discussion about iOS Development and Swift.
|Bucky Roberts Administrator|