I had something similar and I made my attributes optional; and the error was cleared .
@Model
final class Item {
var timestamp: Date?
var title: String?
var actualjournal: String?
var time: String?
init(timestamp: Date, title: String, actualjournal: String, time: String) {
self.timestamp = timestamp
self.title = title
self.actualjournal = actualjournal
self.time = time
}
}
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: