From 37827b1b89834642b391b1ba8738bc92e5caca86 Mon Sep 17 00:00:00 2001 From: leety Date: Fri, 23 May 2025 12:15:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Feat]=20Way=20=EB=B7=B0=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GithubPractice/Model/LearnerViews.swift | 1 + .../View/LearnerViews/WayView.swift | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 GithubPractice/GithubPractice/View/LearnerViews/WayView.swift diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index 58e7960..c8e462a 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -12,3 +12,4 @@ let learnerViews: [any LearnerView] = [ LumiView(), FridayView() ] + diff --git a/GithubPractice/GithubPractice/View/LearnerViews/WayView.swift b/GithubPractice/GithubPractice/View/LearnerViews/WayView.swift new file mode 100644 index 0000000..631d4fc --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/WayView.swift @@ -0,0 +1,26 @@ +// +// WayView.swift +// GithubPractice +// +// Created by LEETAEYEON on 5/23/25. +// + +import SwiftUI + +struct WayView: LearnerView { + // TODO: 1. 이름, 팀 수정하고 커밋하기 + var name: String = "Way" + + var team: String = "러너팀" + + var body: some View { + Text("저의 이름은 \(name)입니다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 입니다.") + .font(.subheadline) + } +} + +#Preview { + WayView() +} From f15b18bc664694dfb3efe3cff62523c9c5de59d8 Mon Sep 17 00:00:00 2001 From: leety Date: Fri, 23 May 2025 12:18:57 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[Feat]=20=EB=A6=AC=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=EC=97=90=20Way=20=EB=B7=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubPractice/GithubPractice/Model/LearnerViews.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index c8e462a..27c212f 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -10,6 +10,7 @@ import Foundation // TODO: 2. learnerViews에 자신의 View 추가하고 커밋! let learnerViews: [any LearnerView] = [ LumiView(), - FridayView() + FridayView(), + WayView() ]