08 CloudKit - Edit Expense - Expenses App - Private iCloud Database

preview_player
Показать описание
This is the eighth video in a series about using CloudKit and iCloud to persist data for an Expenses app using a single entity type of Expense in a private iCloud database. In this video, an Expense is edited and updated.
Рекомендации по теме
Комментарии
Автор

Ok so to edit. You pass a copy of the record on prepare for segue into the single expense view controller, but when it saves you just tell the table view to update!? When did the records array on the first view controller got modified!? It works but I have no idea what kinds of wizardry is this. When you set the destination.record value on prepare for segue, is that actually a pointer to the current record array!? How? Doesn’t it make a copy?

RyuuzakiJulio