Documentation difference between swift.org vs developer.apple.com

Thank you. Actually the reason I asked is a bit of a long story

I first wanted to learn how to search docs.swift.org but I realized I couldn’t. (Related: How to search the online Swift documentation? , How is the 'search' feature of the generated documentation sites supposed to work? )

So I ended up adding this google search to my bookmarks whenever I wanted to search how to do something in swift “site:docs.swift.org/swift-book” which works for some swift code like guard (which is explained here Documentation ) but one day I wanted to search how reduce function works so I tried my little bookmark trick but didn’t find a link that explained how it worked, so I opted for a regular google search which brought me to the apple documentation, which I was confused by because reduce is a swift function not a swiftui function so I thought I’ll find it in swift.org which is I why I posted here.

1 Like