ios swift development

Firebase tutorial-5.Update and sort data in Firebase Database

Hide/Show description

This video guides you how to update and sort data in Firebase Database. There are some steps: 1. Add Edit button in PetTableViewCell by creating an action of UITableViewRowAction. 2. When pressing to Edit button, show an UIAlertController to allow updating Pet object. 3. When user confirms to update data, call removeData method in FIRDatabaseReference, then call setValue to add new values. 4. The method when observing Firebase Reference, it reloads the UITableView SUBSCRIBE TO CHANNEL: Twitter: Facebook: