Real-time data updates in iOS app with Firebase Firestore listeners | Firebase Bootcamp #16

  Рет қаралды 5,205

Swiftful Thinking

Swiftful Thinking

Күн бұрын

Learn how to implement Listeners in Firebase Firestore for iOS apps. This video covers the basics of adding Listeners and demonstrates how to use them effectively. Improve your app's performance and user experience with this tutorial.
🤙 WELCOME BACK 🤙
WEBSITE: www.swiftful-thinking.com
DISCORD: / discord
GITHUB: github.com/SwiftfulThinking/
SAY THANKS: www.buymeacoffee.com/nicksarno
00:00 Firestore Listeners
05:56 Adding listeners
14:37 Attaching listener
16:51 Cancel Listeners
19:32 Listener diffing
22:21 Listening with Combine
29:21 Custom query extension
35:10 OnFirstAppear
40:13 Firestore Conclusion

Пікірлер: 40
@kauekaj
@kauekaj 8 күн бұрын
Awesome work Nick! Thanks for making such amazing videos for us.
@SwiftfulThinking
@SwiftfulThinking 8 күн бұрын
Thanks for watching!
@genowork9538
@genowork9538 Жыл бұрын
Great work Nick. I think it is great learning incidental things, like making custom ViewModifiers, as it shows us real examples of when it is useful in our own apps.
@MaksimLA
@MaksimLA 9 ай бұрын
For somebody who is following your playlists you are not going too difficult, this whole context of informations gives me much better understanding! Love your videos even more than Paul Hudsons (biggest swift achievement)
@andresraigoza2082
@andresraigoza2082 Жыл бұрын
Awesome! I love how you take your time to organize and write the code as good as possible, please keep up the great work you deserve the best.
@AISecretss
@AISecretss Жыл бұрын
Your explanation of the lesson is perfect👍👍
@dimaipatjj4392
@dimaipatjj4392 26 күн бұрын
Thanks, Nic!
@vojtechkalivoda8455
@vojtechkalivoda8455 Жыл бұрын
Amazing bootcamp so far!!! Can't wait to use all these skills in my new projects 🔥
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
Love to hear that! Good luck 🚀🚀
@rasheed1andrew
@rasheed1andrew Жыл бұрын
I love your work nick.
@awu878
@awu878 4 ай бұрын
Love this video! Looking forward to the chat app!
@nathandrake6722
@nathandrake6722 Жыл бұрын
My man is on it again
@EmanNollase
@EmanNollase Жыл бұрын
This is awesome!!! if you continue with a chat app sample that would be great!! thanks
@platformsixx
@platformsixx 7 ай бұрын
Yo, nice video, helped up out a bunch!! Only question I have is how can I add pagination in with realtime updates? Been messing with it for a few hours with no joy at all. Any tips or pointers on this would be GREATLY appreciated. Keep up the good workman, hope it pays off for you.
@30guarino
@30guarino 5 ай бұрын
You and me both! lol …. I’m going to hit him up discord because there’s very knowledgeable users that will probably know exactly how to achieve this
@omerfarukozturk9720
@omerfarukozturk9720 6 ай бұрын
You create incredible content. Thanks to you, I am learning SwiftUI and developing projects. I'd love to meet you.
@kdtechniquesofficial6153
@kdtechniquesofficial6153 11 ай бұрын
Awesome 👏
@reinaldof
@reinaldof Жыл бұрын
Thanks again for this excellent content. Your videos are a great source of information for developers and enthusiasts like myself. Are you a full-time developer? I wonder how you find the time to create these videos.
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
Yea I am… which is why I don’t post as often as I want to 😅 but it’s not work if you enjoy it 🤙
@Designguidetv
@Designguidetv Жыл бұрын
thank you, this was amazing, also my brain is exploding but it will pass
@Alicode.97
@Alicode.97 3 ай бұрын
Great work. I confused while add listener to other case, I trying to add listener to get all products but I don't succeed.
@amish-t8468
@amish-t8468 Жыл бұрын
Greattttt!! ❤ what’s coming after this firebase course?
@caphis
@caphis Жыл бұрын
Awesome content Nick. Just curious - do you plan to cover Push Notifications using FCM later in the playlist?
@Designguidetv
@Designguidetv Жыл бұрын
FCM is being cancelled in a year
@user-tr2kt3tc5h
@user-tr2kt3tc5h 7 ай бұрын
Is it possible to create a pagination with firestore listeners?
@lincolndickerson1293
@lincolndickerson1293 Жыл бұрын
On ething I think is missing which would make this firebase collection complate would befirebase storage for images and/or video for a user. Like a profile picture for a user. Scenario like a friend document that links to an image so I can see my firends and their pictures. Any chance of showing the best way to handle that?
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
It’s coming up 👍
@minakurah7822
@minakurah7822 10 ай бұрын
Hello Nick, thank you so much for this great bootcamp, I’ve learned a lot! But there is one thing I didn’t figured out yet. How can I combine the listeners with the pagination function? For example I have a FeedView like Instagram or Twitter where I want to download only 20 posts at once (pagination) but also want to listen to the changes which a post owner can apply to his post. What’s the best way to manage these case?
@SwiftfulThinking
@SwiftfulThinking 10 ай бұрын
I think these are different functions. I would use a fetch request to fetch all the posts and maybe separately put a listener only on the user’s post while they are editing?
@minakurah7822
@minakurah7822 10 ай бұрын
@@SwiftfulThinking Yeah I thought of something like this too, but it’s very complicated for Firestore Beginners. Maybe you want to make a video course about a small Instagram / Twitter like app, with a main FeedView of small posts, a DetailView where an user can edit his post and maybe with like / unlike and follow / unfollow functions. Nothing special, no extra special functions and views. I would definitely appreciate it! Nevertheless keep going on with your great work and your absolute fantastic Bootcamps and App Build videos!
@panosjapan7
@panosjapan7 10 ай бұрын
Is there an async/await version of Firestore listeners today?
@30guarino
@30guarino 10 ай бұрын
nope
@Dudadius
@Dudadius 4 ай бұрын
I asked this to Google Gemini and 'they' said that it is async aware as of Swift 5.5... 🤔
@cinquain0
@cinquain0 Жыл бұрын
Why can’t you keep your videos under 20 minutes. These long lectures remind me of college, unrealistic af
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
Then I have the reverse problem, people commenting saying “can you explain X?” I’ve used Firebase for years and a shorter video would show how to implement a specific solution but wouldn’t teach the framework as a whole. If I was learning this from scratch, I’d want to learn the best way, not the fast way 🤙
@JB-pm9zm
@JB-pm9zm 11 ай бұрын
speak up
@cinquain0
@cinquain0 Жыл бұрын
You’re doing too much man. These long videos confuse the whole point of the video, which is to explore Firestore as a db
How to use Dependency Injection in SwiftUI | Advanced Learning #16
35:32
Swiftful Thinking
Рет қаралды 27 М.
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,5 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,8 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 144 МЛН
Get Started with Firebase Firestore in iOS | Firebase Bootcamp #8
39:06
Swiftful Thinking
Рет қаралды 11 М.
iOS App Architecture for Realtime UI updates via WebSockets | Live Dev Mentoring
1:16:32
How to use @ViewBuilder in SwiftUI | Advanced Learning #9
24:01
Swiftful Thinking
Рет қаралды 25 М.
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,5 МЛН