Saving and Fetching Messages
Tinder Firestore Swipe and Match
Let's look at how to populate our ChatLogController by persisting messages and fetching them from Firestore database. Make sure to save information in both directions and to test this using multiple simulators and devices. Enjoy.

Comments (3)
flashtrend
4 years ago
Any ideas why my collectionview will not scroll when using scrollToItemAt. It wont even let me manually scroll it up, it will just bounce back down on its own like the insets are not adjusting for the keyboard being there. I put a print statement inside handleKeyboardShow and it prints whenever the keyboard is opened so I know the function is being called.
Brian Voong
4 years ago
flashtrend
4 years ago
Yes
Brian Voong
4 years ago
flashtrend
4 years ago
https://youtu.be/_-Mslhpg0eY
Brian Voong
4 years ago
flashtrend
4 years ago
ok, Ill keep playing with it thanks!
dennis
3 years ago
Brian, do you have any tips that I can apply to make the scrollItemAt method work if I am using a view controller containment pattern?
dennis
3 years ago
I fixed the my scrolling issue by creating a collection view controller instead of embedding a collection view in a parent view controller. Like Brian mentioned above, the scrollToItem method does not work, or i could not get it to work when the collection view controller is embedded in a parent view controller. hope this helps anyone confronting the same issue.
flashtrend
4 years ago
Hi, anyone know how to paginate when using a snapshot listener? It doesn't seem to work for me using my normal method of pagination.
Cinquain
4 years ago
This episode was truly lit
HELP & SUPPORT