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: https://www.youtube.com/c/NguyenDucHoang Twitter: https://twitter.com/NguyenD97601913 Facebook: https://www.facebook.com/nguyen.duc.hoang.bk