You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example project, there is only one record used locally.
/// Updates local state using the provided Record
/// - Parameter record: The record from which to get the data
private func update(with record: AirtableKit.Record) {
self.record = record
self.state.name = record.name ?? ""
self.state.age = record.age ?? 0
self.state.isCool = record.isCool ?? false
self.state.createdTime = record.createdTime ?? Date()
self.state.updatedTime = record.updatedTime ?? Date()
self.state.imageUrl = record.attachments["image"]?.first?.url ?? URL(string: AppState.placeholderStringUrl)!
I have struggled to figure out how to access a table that may contain multiple records to use locally as an array of records? So the entire table data could be displayed as a list? If given some guidance, I'd happily contribute expanded example code to show how this could be done. Thanks!
The text was updated successfully, but these errors were encountered:
In the example project, there is only one record used locally.
I have struggled to figure out how to access a table that may contain multiple records to use locally as an array of records? So the entire table data could be displayed as a list? If given some guidance, I'd happily contribute expanded example code to show how this could be done. Thanks!
The text was updated successfully, but these errors were encountered: