01
Intercepting Network Requests in Swift with URLProtocol
SwiftURLSessionNetworkingTesting
URLProtocol is one of the oldest interception points in Foundation's networking stack. It lets you mock, log, or transform any URLSession request without touching the code that makes the request.
READ_ARTICLE