最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

【记录】swift 2升级到swift 3之后语法变化

Swift crifan 685浏览 0评论

‘var’ parameters are deprecated and will be removed in Swift 3

Use of string literal for Objective-C selectors is deprecated; use ‘#selector’ instead

‘init(start:end:)’ is deprecated: it will be removed in Swift 3.  Use the ‘..<‘ operator.

Use ‘#selector’ instead of explicitly constructing a ‘Selector’

‘–‘ is deprecated: it will be removed in Swift 3

 ‘++’ is deprecated: it will be removed in Swift 3

‘anyGenerator’ is deprecated: renamed to ‘AnyGenerator’

‘init()’ is deprecated: init() will be removed in Swift 3.  Use `nil` instead

转载请注明:在路上 » 【记录】swift 2升级到swift 3之后语法变化

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
58 queries in 0.127 seconds, using 18.77MB memory