例如:
类NSNotificationCenter
方法deaultCenter
xcode 8.0
OS 10.12
可用性 macOS(10.12及更高版本)
BUT
xcode 5.1.1
OS 10.8
可用性 OS X v10.0及更高版本
为什么呢?我可以使用" deaultCenter"在OS 10.8?我怎么知道有些方法有真正的" macOS(10.12和更高版本)" (早期操作系统版本崩溃)可用性?
答案 0 :(得分:0)
The current online copy of the defaultCenter
documentation correctly says 10.0+. If Xcode 8 is not agreeing then it's a documentation bug. You can file a report at bugreport.apple.com