在被迫切换到Swift 3.0语法之前,以下几行工作正常:
return urlString.stringByTrimmingCharactersInSet(unwantedChars)
但是,更新到Swift 3.0后,它现在阻止我在Xcode中构建我的应用程序,向我显示错误消息Value of Type 'String' has no member 'StringByTrimmingCharactersInSet'
。这是什么新语法?
答案 0 :(得分:1)
var testApp = angular.module('Duot', [ 'configuration']
testApp .controller('userProfileCtrl', function ($scope,Engine_API) {
}