What is the right way to present data from Realm in SwiftUI List
问题 I’m trying to fetch all of the items from Realm and display them in a SwiftUI List but I keep getting an error. In a UIKit/Realm application, I would just create a Results variable to store all of the items from Realm then, I would fetch items in the viewDidLoad method and assign them to the variable. I'm trying to do the same thing in SwiftUI but I'm not sure how to structure my code, I keep getting an error saying that my Realm model should conform to the StringProtocol , I'm pretty sure