diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index fc3f6d4..daac535 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -11,5 +11,6 @@ import SwiftUI let learnerViews: [any LearnerView] = [ LumiView(), JudyView(), - IrisView() + IrisView(), + MapleView() ] diff --git a/GithubPractice/GithubPractice/View/LearnerViews/MapleView.swift b/GithubPractice/GithubPractice/View/LearnerViews/MapleView.swift new file mode 100644 index 0000000..0248786 --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/MapleView.swift @@ -0,0 +1,22 @@ +// +// MapleView.swift +// GithubPractice +// +// Created by 최서진 on 5/26/26. +// + +import SwiftUI + +struct MapleView: LearnerView { + var name: String = "Maple" + + var team: String = "이어폰줄꼬임" + + var body: some View { + Text("안녕하세요") + } +} + +#Preview { + MapleView() +}