我对ios开发比较陌生(但我之前有编程经验),我想阅读Swift的完整文档,但我不确定它是哪一个,有https://docs.swift.org还有https://developer.apple.com/documentation/swift 据 swift.org 报道
You can use the resources on this page as documentation for the Swift language. Apple hosts additional resources for learning Swift—such as videos, sample code and playgrounds, and additional documentation—including the Swift standard library reference.
所以有很多重叠的文档
总结一下:
1-其中一个是否完全包含另一个的文档?
2-如果没有,有没有一种方法可以让我阅读完整的文档而不必阅读它们?
谢谢:)
最佳答案
您正在将苹果与橙子进行比较(并且在比较“全面”一词时模棱两可)。
https://docs.swift.org/是一本关于语言的书。您阅读它(例如学习 Swift)。如果您愿意,可以下载它并在图书应用程序 (iBooks) 中阅读。
https://developer.apple.com/documentation/swift是标准库的文档。您查阅它(例如,获取方法列表),它就会在您的计算机上重现。
关于swift - swift.org 和 Apple 的文档哪个更全面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52683097/