import UIKit
class NSLocalImageURLProtocol: URLProtocol {
static let schemaName = "myapp"
override class func canInit(with request: URLRequest) -> Bool {
if let schema = request.url?.scheme?.lowercased(),
sch[......]
import UIKit
class NSLocalImageURLProtocol: URLProtocol {
static let schemaName = "myapp"
override class func canInit(with request: URLRequest) -> Bool {
if let schema = request.url?.scheme?.lowercased(),
sch[......]