最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

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

Swift crifan 1863浏览 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,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
84 queries in 0.181 seconds, using 22.04MB memory