ios - Swift:对 NSNotFound 的模糊引用

标签 ios compiler-errors swift

在向一些 Objective-C 代码添加桥接 header 后,我开始收到有关 NSNotFound 是不明确引用的编译器错误。我的猜测是它可以用某种模块前缀来修复...

最佳答案

是的。将其更改为:Foundation.NSNotFound

关于ios - Swift:对 NSNotFound 的模糊引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24731622/

相关文章:

iOS 10.3 到 iOS 11 升级 : User stop receiving silent push notifications

ios - 从类型 '(_, _, _) throws -> ()' 的抛出函数到非抛出函数类型的无效转换 '(URLResponse?, Data?, Error?) -> Void

ios - AlamofireImage 下载到 CoreData

c - gsl 无限积分区间错误。发现不良的被积函数行为。如何解决?

在 NavigationController 中查看的 iOS 无效矩形

ios - 在 iOS 上创建和更新 OpenGLES 纹理

Android Studio 0.4.3 - 无法编译官方 Android 示例

compiler-errors - GTK +教程编译错误

swift - 无法在 SwiftUI、WatchOS 上使用 TabView

Swift, Collection View 和 Storyboard,在另一个标签上使用 viewWithTag 时获取 null