-
Notifications
You must be signed in to change notification settings - Fork 0
Estrutura do código
Yago Victor Marques de Souza edited this page Mar 26, 2022
·
2 revisions
struct Task: Codable {
let done: Bool
let deadline: String
let title: String
let id: Int
let category: String
let createdAt: String
}
struct Activity: Codable {
var context: String
var tasks: [Task]
}
[
{
"context" : String(),
"activities" : [
{
"category" : String(),
"title" : String(),
"done" : Bool(),
"createdAt" : String(),
"id" : Int(),
"deadline" : String(),
}
]
}
]
List4Me | swift challenge | Apple Developer Academy