Building Safe URL in Swift Using URLComponents and URLQueryItem
Constructing URL is a routine task that every Swift developers do when building an iOS application. It’s very important to make sure the URL we construct are safe and correctly encoded using the percent encoding format.