Closed devhopes-ca closed 1 year ago
I am using Xcode 14.1, iOS 16 and recreating your project.
In your file, FirestoreUser.swift, there is an issue with the return of age:
var age: Int{ return Date().years(from: birthDate) }
I am getting this error :: Value of type 'Date' has no member 'years'
Please advise.. Thank you,
.
I am using Xcode 14.1, iOS 16 and recreating your project.
In your file, FirestoreUser.swift, there is an issue with the return of age:
var age: Int{ return Date().years(from: birthDate) }
I am getting this error :: Value of type 'Date' has no member 'years'
Please advise.. Thank you,