New String

New APIs are added to String in Swift 4; the return types will be String or subString in certain cases. To ease this transition, the migrator will assist by adding explicit initializers in places where the API expects special cases.

We have already discussed some important changes in the String API earlier in the chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset