@Published var checkedInProfiles: [CKRecord.ID: Int] = [:] ...
func getCheckedInCounts() { ckController.database.fetchCheckedInProfilesCount(with: RecordType.profile) { (results, moreComing, error) in DispatchQueue.main.async { [self] in checkedInProfiles = results } } }
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: