URLComponents.queryItems documentation differs from NSURLComponents.queryItems

Originator:dan
Number:rdar://40751862 Date Originated:June 2 2018, 7:04 PM
Status: Resolved:
Product:Documentation Product Version:
Classification: Reproducible:Always
 
Summary:
The documentation about `queryItems` differs between `NSURLComponents` and `URLComponents`, leading to swift-only developers (using `URLComponents`) to miss out on important information.

Steps to Reproduce:
Read
https://developer.apple.com/documentation/foundation/urlcomponents/1779966-queryitems

Expected Results:
Includes all relevant info, like the stuff included in https://developer.apple.com/documentation/foundation/nsurlcomponents/1407752-queryitems?language=objc


Actual Results:
Developer has no knowledge of the pitfall waiting for him/her around `+`

Version/Build:
Live on the web now

Configuration:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!