Save and Fetch Recent Messages
Tinder Firestore Swipe and Match
Save and Fetch Recent Messages

Comments (4)
Cinquain
4 years ago
This video was ultra lit
Brian Voong
4 years ago
Cinquain
4 years ago
lolol don't worry I rewatch them while I practice. This stuff don't happen overnight
gabedelvillar
3 years ago
litception, bro!
David Guarino
4 years ago
Hey Brian, Quick question.... When manually inputting the data into Firestore I get the message from the same user displayed and duplicated inside the recent message cell in simulator...it's not until I click back that it then merges into one with the last message displaying. Any troubleshooting tips or is this a bug?
David Guarino
4 years ago
Nevermind it all works!
MIkeb
3 years ago
If I was not using LBTAtools -and I wanted to delete the cells that have messages in them I would use: func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool { return true } func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) { if (editingStyle == .delete) { // pass the new info back Firebase } } but I cant seem to find the correct UICollectionViewCell functions to make the left delete swipe button appear....it looks like UICollectionViewCell does not have .editingStyle....can you pass in some quick code that shows how we implement the delete of a cell row?
Brian Voong
3 years ago
David Guarino
3 years ago
Hey.... @ 3:26 when you input the properties in didSet.... if we created a timestamp in the UI...How would you put that in the didSet block to display the time of when the message was created without it crashing?
HELP & SUPPORT