Error YouTube App (SwiftUI) lesson 4: Missing argument label

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.

3 Likes