In CacheManager.swift I was missing the “_” before url and data.
I had:
( url: String, data: Data?)
This is the correct way:
(_ url: String, _ data: Data?)
This resolves the issue.
In CacheManager.swift I was missing the “_” before url and data.
I had:
( url: String, data: Data?)
This is the correct way:
(_ url: String, _ data: Data?)
This resolves the issue.