简体   繁体   English

什么“cacheParamsComputed”在Swift 4中意味着什么?

[英]What does “cacheParamsComputed” mean in Swift 4?

I just upgraded one of my macOS app written in Swift 3 to Swift 4, and got the following warnings: 我刚刚将我用Swift 3编写的macOS应用程序升级到Swift 4,并得到以下警告:

  • 'cacheParamsComptued' is depreacated 'cacheParamsComptued'被删除了
  • 'keepCacheWindow' is deprecated 'keepCacheWindow'已弃用

However, even if I tapped on the triangle icon nothing changed in Xcode. 但是,即使我点击三角形图标,Xcode也没有任何变化。

What does this warning mean and how can I fix it? 这个警告意味着什么,我该如何解决?

在此输入图像描述

I encountered this. 我遇到了这个。 Simply cleaning the project (Shift-Command-K) and rebuilding (Command-B) made it go away. 只需清理项目(Shift-Command-K)和重建(Command-B)就可以使它消失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM