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.
我正在使用 Xcode 7 在 SWIFT 2.0 中编写应用程序,但我的部署目标是 iOS7。 在编写和OptionSetType构建时,我在快速帮助中看到该协议的可用性是 iOS9。 在“标题”和官方文档中没有提到任何内容,但我真的想知道这个协议是否也适用于较低的 iOS 版本,因为 SWIFT 2.0 在 iOS7 之前应该没问题。
OptionSetType
由于所有 swift 标准库都随您的应用程序一起发布到 AppStore,所有这些协议都将在 iOS 7 及更高版本上可用。