Swift’s var is not Objective-C’s id

I saw a YouTube video a little while back that said “var in Swift is basically the same as id in Objective-C.” And honestly, when I first heard that statement, I thought, “yeah, var is like id in Objective-C. You just use it before a variable’s name when you don’t care about its type.” But that’s totally wrong, and I’ll … Continue reading Swift’s var is not Objective-C’s id