Options for converting string encodings.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
These constants are available in OS X v10.4; they are, however, differently named:
You can use them in OS X v10.4 if you define the symbols as
Identifying and Comparing Strings
func isEqual(to: String) -> Bool
Returns a Boolean value that indicates whether a given string is equal to the receiver using a literal Unicode-based comparison.
var hash: Int
An unsigned integer that can be used as a hash table address.