Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
似乎CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION在 Xcode 8 中被删除了。它提供了一些非常好的警告,以防nil被传递给nonnull参数/返回类型。知道为什么将其删除以及是否存在替代品吗?
CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION
nil
nonnull
当我将 nil 传递给 nonull 预期方法时,我仍然看到警告。也许它现在默认启用。