Problem with Decodable protocol when use in Class

Fixed!

The problem was that I misspelled some variables and the var categories was missing. What I did was copy the code from the CWC resources folder and it worked. Then I realized of all my errors.

Thanks for your help