Well, I had a doubt about the primitive types of Swift, and some classes like NSString.
var miString : NSString
var miString2 : String
miString = "Hola"
miString2 = "Hola"
miString.length
miString2.characters.count
1. Why and how is it that primitive types have methods?
2. Because and how is it that the NSString object can be equal to a String without using any constructor ... (As it would be
NSString("String o lo que sea")
)