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

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

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

Пікірлер: 38
@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.
@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👍👍
@MaksimLA
@MaksimLA 8 ай бұрын
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)
@rasheed1andrew
@rasheed1andrew Жыл бұрын
I love your work nick.
@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 🚀🚀
@dimaipatjj4392
@dimaipatjj4392 18 күн бұрын
Thanks, Nic!
@awu878
@awu878 3 ай бұрын
Love this video! Looking forward to the chat app!
@EmanNollase
@EmanNollase Жыл бұрын
This is awesome!!! if you continue with a chat app sample that would be great!! thanks
@nathandrake6722
@nathandrake6722 Жыл бұрын
My man is on it again
@amish-t8468
@amish-t8468 Жыл бұрын
Greattttt!! ❤ what’s coming after this firebase course?
@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.
@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 👏
@Designguidetv
@Designguidetv Жыл бұрын
thank you, this was amazing, also my brain is exploding but it will pass
@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 🤙
@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
@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
@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!
@user-tr2kt3tc5h
@user-tr2kt3tc5h 6 ай бұрын
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 👍
@panosjapan7
@panosjapan7 9 ай бұрын
Is there an async/await version of Firestore listeners today?
@30guarino
@30guarino 9 ай бұрын
nope
@Dudadius
@Dudadius 4 ай бұрын
I asked this to Google Gemini and 'they' said that it is async aware as of Swift 5.5... 🤔
@JB-pm9zm
@JB-pm9zm 11 ай бұрын
speak up
@cinquain0
@cinquain0 11 ай бұрын
Why can’t you keep your videos under 20 minutes. These long lectures remind me of college, unrealistic af
@SwiftfulThinking
@SwiftfulThinking 11 ай бұрын
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 🤙
@cinquain0
@cinquain0 11 ай бұрын
You’re doing too much man. These long videos confuse the whole point of the video, which is to explore Firestore as a db
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 81 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 8 МЛН
iOS App Architecture for Realtime UI updates via WebSockets | Live Dev Mentoring
1:16:32
Cloud Firestore Get Data (and other operations) with SwiftUI
41:31
CodeWithChris
Рет қаралды 41 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 68 М.
SwiftUI Firebase Chat 12: Fetch Messages Documents with Snapshot Listener
29:31
SwiftUI: Fetching data from Firestore in real-time
13:52
Firebase
Рет қаралды 30 М.
How to use Timer and onReceive in SwiftUI | Continued Learning #24
26:17
Swiftful Thinking
Рет қаралды 21 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 81 МЛН