Is String An Object In Swift?
Is String An Object In Swift? Strings aren’t objects in Swift, and they can’t be represented with AnyObject – but they can be represented by Any . Strings are structs, and they have all the methods we’re used to seeing – because in Swift, structs can have methods. How do you define a string in