Swift: Firebase 3 - Optimizations to Observe Chat Log Per User - Save $$ (Ep 16)

preview_player
Показать описание
Lets quickly go over how to improve our Firebase database structure to allow our app to individually observe messages for each chat log. This could be a little advanced but hopefully will be educational for folks looking to get better at Firebase Database.

Previous Episode 15:

All episodes for Firebase 3 series:

Completed Source Code

Want to learn more about iOS Development? Here are a few additional playlist resources on my channel:

Lets Build YouTube series:

Lets Build AppStore series:

Рекомендации по теме
Комментарии
Автор

You have drilled so deep with this ChatApp series and now it's on a whole different level. I didn’t expect to learn this much from someone and now I don’t expect from someone ELSE. Thank you.

thinkoreans
Автор

I wanna thank you very much for all these tutorials. I call it the "magic" in iOS App dev. I nearly gave up learning iOS App development until i met you. You've been so helpful. Thanks a lot Brian.

samthexplorer
Автор

You are a legend Brian, thanks again for creating better programmers through your channel

Dayank
Автор

Brian, just wanted you to know i've watched this multiple times and
couldn't get it to work over a two week period..off and on, finally got
it working but love your videos, and just getting to episode 17 is major
milestone. Thank you!!

Enraiha
Автор

I love this video! Not many youtube devs will share this kind of optimization videos.. You really put in quite a lot of thought into making this demo project useful for real-world use, kudos, I thank you!

hanisster
Автор

I think you are among top best developers who visualize real worlds apps in a making. Keep it up! Am following and enjoying your videos. Kuddos :)

allymakongo
Автор

its a fantastic way to learn ios in a simple sweet on target tutorial thank you man

Really !!! Great Work keep posting new one

VikasSharma-znkl
Автор

Great Job brother! Nice refactor tip at the end!

westaylorx
Автор

Thank you sir! All of your videos are very useful. Which series will coming in future? :D

sawsoemoenyunt
Автор

Very nice serie, i implemented this chat in my app! tks

brunocortes
Автор

Great Tutorials Brain
just loved them all
and thank you so much for giving us this nice tutorials
hope we get more intreating ones
once again thank you so much
the best tut in youtube about swift
picture perfect

saiamulya
Автор

"Sorting is not the most efficient thing in the world" - Brian Voong 20:30

makwanabhavin
Автор

Hey Brian, quick question: should we be removing firebase node observers when we deallocate a view? What about when we transition from MessagesController to ChatLogController, should we remove the messages observer on MessagesController? Or does firebase automatically stop "observing" when a view is not on the screen? Any clarity would help, thanks

saoudrizwan
Автор

Thanks so much Brian! Any tips on how to access the 2nd message sent by a user after we sort the messages by time sent? Thanks!!

mattdanaher
Автор

Hi Brian, everything is working fine except the detail text label keeps displaying the first message send. The display was fine before these changes were made, do you know why this might be happening?

sumayyah
Автор

Is there a difference between observing node values via observers(.childAdded events) and fetching node children using snapshot.value? For instance, instead of traversing(observing) children in user-messages to get message ids, we could've simply cast snapshot.value as a dictionary and take messages ids from there one by one.

antonioivcec
Автор

hi Brian how u great work as always one thing doe i did your steps and for some reason I'm still fetch messages  from  firebase ... i see it in the console have any ideas

andrerobinson
Автор

The same chat log node on firebase is observed in ChatLogController and MessagesController. I wonder if there is another way to improve the efficiency.
MessagesController:
ChatLogController: func observeMessages()

beenekwok
Автор

Hi, Brian. Is it possible to make big projects in swift? And how long Objective C will be popular?))

kubakadyrbekov
Автор

Dude, your videos are great! Have you thought about creating a course in Udemy (or another MOOC)? If you market your course correctly, then you may get the same number of students as some popular online instructors (like Rob Percival). You could test the market demand with a Kickstarter campaign.

If you're only posting videos for fun then that's cool. But seriously, there might be a market for advance programming courses -- especially for mobile since technology changes so fast.

Peace!

mestermest