Hey Brian,
For some reason when I go back to the Settings controller the data that I have saved is not there.
After I upload the images I get this for the user
USER>>>> Optional(TinderFireStoreEB.User(name: Optional("Qu"), age: Optional(25), profession: Optional("Dev"),
imageUrl1: Optional("https://firebasestorage.googleapis.com/v0/b/matchfirestoreeb.appspot.com/o/images%2F1E17BD03-4A69-4415-9D8A-7CBA7FD8BA1A?alt=media&token=e94974f3-a6bd-47aa-ada9-7e682c23d982"),
imageUrl2: Optional("https://firebasestorage.googleapis.com/v0/b/matchfirestoreeb.appspot.com/o/images%2F2E8C6F1E-31AC-45AD-B635-F4032C6736FE?alt=media&token=0fcda562-5659-423b-9e6c-1b9fcff1a62a"),
imageUrl3: Optional("https://firebasestorage.googleapis.com/v0/b/matchfirestoreeb.appspot.com/o/images%2F615D50A5-80D2-49D6-BFE3-9586D52DC36C?alt=media&token=d8bf5e84-21b0-4b03-8943-d03141100789"),
uid: Optional("OvEk2miWTpY3QwVmg8mspPAEMfH2"))) .
It is after I click save button.
If I click cancel and go back to
@objc fileprivate func handleCancel() {
dismiss(animated: true)
}
My data is not there and I get imageUrl2: nil, imageUrl3: nil .
Couldn't figure out why it is happening.....
Any help would be appreciated.