Skip to content

Commit

Permalink
[Add] #252 - 더미데이터 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed Apr 19, 2024
1 parent 5130ecd commit 713415d
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion iOS-NOTTODO/Widget-NOTTODO/MissionModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,23 @@
// Created by 강윤서 on 4/14/24.
//

import Foundation
import SwiftUI

struct MissionModel: Identifiable {
var id = UUID().uuidString
var missionTitle: String
@State var isCompleted: Bool = false
}

class MissionDataModel {
static let shared = MissionDataModel()

var model: [MissionModel] = [
.init(missionTitle: "바마바ㅏ어람니어리 ㅏㅓㅏ어라너ㅏㅇ러라언", isCompleted: true),
.init(missionTitle: "바마바ㅏ어람니어리 ㅏㅓㅏ어라너ㅏㅇ러라언"),
.init(missionTitle: "바마바ㅏ어람니어리 ㅏㅓㅏ어라너ㅏㅇ러라언"),
.init(missionTitle: "바마바ㅏ어람니어리 ㅏㅓㅏ어라너ㅏㅇ러라언"),
.init(missionTitle: "바마바ㅏ어람니어리 ㅏㅓㅏ어라너ㅏㅇ러라언"),
.init(missionTitle: "바마바ㅏ어람니어리 ㅏㅓㅏ어라너ㅏㅇ러라언")
]
}

0 comments on commit 713415d

Please sign in to comment.