- Apple: https://developer.apple.com/documentation/coreimage/cicolorc...
- Microsoft: https://docs.microsoft.com/en-us/dotnet/api/coreimage.cicolo...
https://developer.apple.com/library/archive/documentation/Gr...
Apple deployed a new documentation system, and no one stopped to make sure all the "old" stuff got translated through.
I find Microsoft's documentation as unusable as Apple's, with the difference that nowadays I can hunt down the source code for dotnet core while Apple's source is still private.
The stellar user interface that preceded industrial design dazzle was pure software. Apple does many things, and one of them is developing software. It is possibly fair to say they are no longer doing software as well as in the past.
CIColor.init(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
[[CIColor alloc] initWithRed:0.0 green:1.0 blue:0.0 alpha:1.0]Great documentation uses those examples to shine light on other features that go nicely with (in this case) CIColor or to highlight the right way to do common tasks.
The comparison given was totally unfair, as pointed out by another user. Let's look at something more similar to LINQ's Distinct function.
Here's the Collection Types page from the Swift book: https://docs.swift.org/swift-book/LanguageGuide/CollectionTy...
Here's the examples from the API page for Swift's Collection type: https://developer.apple.com/documentation/swift/collection
Or for Sequence, also full of examples: https://developer.apple.com/documentation/swift/sequence
It's very comparable and highlights the differences and lack of detail in Apple documentation well.
My most recent experience with Apple's documentation (regarding some iOS 13 API concern), left me with a sense of impending doom and hopelessness. After about 5 minutes I gave up and went back to playing the google/stackoverflow search game.
I have become very addicted to the quality of Microsoft's documentation for things like .Net Core & C#, and have found it virtually impossible to tolerate reading documentation from any other vendor at this point. A completely arbitrary but hopefully obvious side-by-side comparison:
Exhibit A:
https://docs.microsoft.com/en-us/dotnet/api/system.linq.enum...
Exhibit B:
https://developer.apple.com/documentation/coreimage/cicolor/...