Post

Replies

Boosts

Views

Activity

Reply to SwiftData framework crashes application when enumerations are part of arrays
To be clear, it seems an enum not housed in an array is fine: @Model final class Item { var timestamp: Date var choice: Choice init(timestamp: Date, choice: Choice) { self.timestamp = timestamp self.choice = choice } } enum Choice: String, Codable { case beep, bloop }
Replies
Boosts
Views
Activity
Jun ’23