Lesson 11: Delete Items - SwiftUI To Do List

  Рет қаралды 4,763

iOS Academy

iOS Academy

Күн бұрын

In this video we will enable the Swipe to Delete functionality for a user's created to do list items. This common pattern is used across hundreds of apps for item deletion. We'll hook up the delete action to the database and watch our items vanish in real-time as we delete them.
💻 Source Code: / iosacademy
🎥 Subscribe for more: www.youtube.co...
😎 Like my teaching style? Check out some of my most popular courses! courses.iosaca...
👉🏼 Connect (personal LinkedIn) / afrazsiddiqui
🚀 Follow on LinkedIn / ios-academy
** Popular Series
Building Instagram: courses.iosaca...
Building TikTok: / @iosacademy
SwiftUI for Beginners: ios-academy.te...
** Get Skillshare free for 2 Months and learn iOS
www.skillshare...
** Manage all your investments from app earnings on Betterment!
bit.ly/3eBwlI9
** Grow your own KZbin tech channel with TubeBuddy:
www.tubebuddy....
#swiftUI #Swift #iOSDeveloper

Пікірлер: 16
@NishantGupta_Neo
@NishantGupta_Neo Жыл бұрын
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.
9 ай бұрын
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
@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
@iOSAcademy Жыл бұрын
You could but you need to adjyst the set up
@damfastfpv8016
@damfastfpv8016 8 ай бұрын
Found the follow up video!
@roshanchaudhari6470
@roshanchaudhari6470 Жыл бұрын
I have the same code. I click on delete I am unable to delete.
@NishantGupta_Neo
@NishantGupta_Neo Жыл бұрын
same issue with me.
@NishantGupta_Neo
@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
@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
@hassanaljamea4672 Жыл бұрын
@@NishantGupta_Neo I have the same problem, How did you manage to get ride of it.
@IamAlifBD
@IamAlifBD 9 ай бұрын
@@roshanchaudhari6470 how did you fix it?
@victorriurean
@victorriurean Жыл бұрын
🎉
@iOSAcademy
@iOSAcademy Жыл бұрын
Thanks
Lesson 12: Done Checkmarks - SwiftUI To Do List
6:16
iOS Academy
Рет қаралды 4,2 М.
Add, edit, move, and delete items in a List in SwiftUI | Bootcamp #31
27:29
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Lesson 13: Profile & Log Out - SwiftUI To Do List
13:35
iOS Academy
Рет қаралды 7 М.
Lesson 10: Items List - SwiftUI To Do List
14:22
iOS Academy
Рет қаралды 7 М.
Add custom List Swipe Actions in SwiftUI | Bootcamp #58
9:14
Swiftful Thinking
Рет қаралды 13 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 296 М.
How to Get User Location on a Map - Swift
26:11
Sean Allen
Рет қаралды 66 М.
How to Make a Task List App w/ SwiftUI! (Xcode)
14:24
Jared Davidson
Рет қаралды 30 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.