In the latest version of Xcode beta, Apple removed some methods from the Swift String type. An easy workaround (which I applied) is to cast String to NSString whenever it is necessary to use those methods. More info about these changes are available in this forum thread.
In the latest version of Xcode beta, Apple removed some methods from the Swift String type. An easy workaround (which I applied) is to cast String to NSString whenever it is necessary to use those methods. More info about these changes are available in this forum thread.