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
}
}
Post
Replies
Boosts
Views
Activity
Hey , can you share the code to help get a better understanding ?
This should work , it's maybe an Xcode issue
I don't think Apple will approve the request , maybe you should send a letter to the government or reach out to them in another way . Again this is just what I think