The value of this string.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Discussion
Using this property directly is discouraged. Instead, use simple assignment to create a new constant or variable equal to this string.
The value of this string.
SDK
Framework
Using this property directly is discouraged. Instead, use simple assignment to create a new constant or variable equal to this string.
var debug Description: String
A representation of the string that is suitable for debugging.
var custom Mirror: Mirror
A mirror that reflects the String
instance.
var hash Value: Int
The hash value.
func hash(into: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.