Error: Value of type ‘FetchedResults.Element’ (aka ‘Item’) has no member ‘price2pay’
I am trying to loop through my Core Data Database to get all the prices of all the Items but I’m getting the error, Value of type ‘FetchedResults.Element’ (aka ‘Item’) has no member ‘price2pay’ below is my CartView.swift. Would someone please assist me on how to fix this?