V5 MyLocations -Saving the locations- Date Error

when I’m trying to save date, Xcode gives me this error "Cannot assign value of type ‘Date’ to type ‘Data’ "

The issue is right there in the error message - you probably defined a variable somewhere as “Data” when you should have made it of type “Date” :slight_smile: Check your code and your data model for everything related to the date field saving to see where the issue is.

thank you I was reading Data as “Date”:exploding_head:, i defined date as Data in Location+CoreDataProperties file that was the problem

This topic was automatically closed after 166 days. New replies are no longer allowed.