thanks for the great tutorial. Just one question though, by passing userID from the View to the VM, aren't we coupling the VM & View more tightly than we would if we fetched the userId through Auth.auth().currentUser?.uid ? Just saying.
@damfastfpv80165 ай бұрын
Found the follow up video!
5 ай бұрын
I started following the playlist for this course a few months ago and had left the app at the final state of the lesson 10 video working. I tried to resume the lessons today and saw that when I start the app I see the blank screen and not the list of saved items. if I add a new item I cannot see it. when I start the app I noticed that for a moment the list appears and then disappears. I wanted to ask you if there is a link to be able to download the source code to see if it is completely in line so I can then investigate if the problem is due to firebase or the version of Xcode I used (much newer than the one used when recording the videos). Thank you in advance.
@papiipons Жыл бұрын
Great tutorials! One question, can I and should I put the firestore query inside the vm? Just so the view is not aware of the data layer?
@iOSAcademy Жыл бұрын
You could but you need to adjyst the set up
@victorriurean Жыл бұрын
🎉
@iOSAcademy Жыл бұрын
Thanks
@roshanchaudhari6470 Жыл бұрын
I have the same code. I click on delete I am unable to delete.
@NishantGupta_Neo Жыл бұрын
same issue with me.
@NishantGupta_Neo Жыл бұрын
The problem I had was that I had auto-created the UUID in the ToDo Model and hence the IDs created by FireStore and my own UUID were not matching.
@roshanchaudhari6470 Жыл бұрын
@@NishantGupta_Neo Thank you for your reply Nishant, and guess what I was doing same mistake 😂. I finally figured I was generating two IDs while saving doc to firestore
@hassanaljamea4672 Жыл бұрын
@@NishantGupta_Neo I have the same problem, How did you manage to get ride of it.