【问题标题】:What does "cacheParamsComputed" mean in Swift 4?Swift 4 中的“cacheParamsComputed”是什么意思?
【发布时间】:2018-04-02 12:36:28
【问题描述】:

我刚刚将我用 Swift 3 编写的 macOS 应用程序之一升级到 Swift 4,并收到以下警告:

  • 'cacheParamsComptued' 已弃用
  • 'keepCacheWindow' 已弃用

但是,即使我点击了三角形图标,Xcode 中也没有任何变化。

此警告是什么意思,我该如何解决?

【问题讨论】:

  • 在 Swift 中看起来像 bug

标签: xcode macos warnings xcode9 swift4


【解决方案1】:

我遇到了这个。只需清理项目 (Shift-Command-K) 并重建 (Command-B) 即可让它消失。

【讨论】:

    猜你喜欢
    • 2018-04-09
    • 2014-08-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多