iOS Swift - Local Data Persistence
Given the model definition:
What is the output of this code?
@Model class Task { var title: String; var done: Bool }What is the output of this code?
let task = Task(title: "Buy milk", done: false) print(task.done)
