Easiest: where can I find the API documentation for type String in Swift? Does something like this exist at all? It really should be for such a fundamental type. But even Google does not return anything useful.
You can get the Strings and Characters page, which, however, is a general overview of string processing. Or you can read the String page, which is terrible. Only a few pieces are mentioned there (some init, very few functions and some operators).
There is much more to String in the source code, but only with a marginal description and complex structure (since the actual APIs are divided into a dozen extensions).
To be clear: I'm looking for Swift String equivalence A reference to the NSString class .
string swift
Mike lischke
source share