I am using aws amplify and it returns all of its results into models and their type is something like List. But I would like them in standard swift arrays so I can use all the functionality like .first and such. How can this be done easily?
My error:
Cannot convert value of type 'List?' to expected argument type '[ResourceSubCategory]'
Thank you!
2
0
689