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
I am also confused on how to retrieve a list of records.
In the example project, there is only one record retrieved.
/// 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)!
If the example table contained multiple records, how would you retrieve the entire table and update the local state as an array of records so you could list all of the data?
I kind of struck on how to retrieve values from list method
let publisher = airtable.list(tableName: "Test table")
Any help is appreciated. Thank u!
The text was updated successfully, but these errors were encountered: