How To Make a YouTube App - Lesson 4 - One Day Build

At 17:13 in this course

When I write code, Xcode shows me an Error!

init (form decoder: Decodable) throws {
    let container = try decoder.container(keyedBy: CodingKeys.self)

Error’s message

Value of type ‘Decodable’ has no member ‘container’

Sorry I can not explain more. my language is not perfect

please help me😩

I have not found the answer

Your code should be:

init(from decoder: Decoder) throws { }

Notice it’s Decoder, not Decodable

just this!:sob: thank you very much it is worke.