Is this in Swift:
let someString:String = "blah"
Effectively equivalent to this in Objective-C:
NSString * const someString = @"blah";
I've been assuming that the use of the const keyword in this way in Objective-C has been making it effectively equivalent to let in Swift, under the hood, but it would be nice to hear that confirmed. It's rare that anyone uses const in this way when defining local variables in Objective-C, but it seems equivalent to let. Given the benefits of let, ensuring no mutation of the pointer can occur later, I'm wondering if my existing Objective-C projects wouldn't benefit by using this convention all the time. My question is not about the difference between Swift String and NSString.