From 8220d977608ca812a4ba550f831c65f0e715a05c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8D=94=EC=97=B0?= Date: Fri, 23 May 2025 12:15:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Feat]=20Cherry=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 --- .../View/LearnerViews/CherryView.swift | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift diff --git a/GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift b/GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift new file mode 100644 index 0000000..2f16c4e --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift @@ -0,0 +1,26 @@ +// +// CherryView.swift +// GithubPractice +// +// Created by 서연 on 5/23/25. +// + +import SwiftUI + +struct CherryView: LearnerView { + // TODO: 1. 이름, 팀 수정하고 커밋하기 + var name: String = "Cherry" + + var team: String = "4T2D" + + var body: some View { + Text("저의 이름은 \(name)입니다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 입니다.") + .font(.subheadline) + } +} + +#Preview { + LumiView() +} From 448272d6e660601973943d5cef293aee50a82535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8D=94=EC=97=B0?= Date: Fri, 23 May 2025 12:19:04 +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=20=EC=B2=B4=EB=A6=AC=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 ++- .../GithubPractice/View/LearnerViews/CherryView.swift | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index 58e7960..a991894 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -10,5 +10,6 @@ import Foundation // TODO: 2. learnerViews에 자신의 View 추가하고 커밋! let learnerViews: [any LearnerView] = [ LumiView(), - FridayView() + FridayView(), + CherryView() ] diff --git a/GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift b/GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift index 2f16c4e..82a4c8c 100644 --- a/GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift +++ b/GithubPractice/GithubPractice/View/LearnerViews/CherryView.swift @@ -22,5 +22,5 @@ struct CherryView: LearnerView { } #Preview { - LumiView() + CherryView() }