We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6527bcf + 9639272 commit 1320e1cCopy full SHA for 1320e1c
GithubPractice/GithubPractice/Model/LearnerViews.swift
@@ -9,6 +9,7 @@ import Foundation
9
10
// TODO: 2. learnerViews에 자신의 View 추가하고 커밋!
11
let learnerViews: [any LearnerView] = [
12
+ PepprView(),
13
LumiView(),
14
JudyView(),
15
FridayView(),
GithubPractice/GithubPractice/View/LearnerViews/PepprView.swift
@@ -0,0 +1,26 @@
1
+//
2
+// LumiView.swift
3
+// GithubPractice
4
5
+// Created by 정영진 on 5/22/25.
6
7
+
8
+import SwiftUI
+struct PepprView: LearnerView {
+ // TODO: 1. 이름, 팀 수정하고 커밋하기
+ var name: String = "Peppr"
+ var team: String = "진짜멋진팀"
16
+ var body: some View {
17
+ Text("저의 이름은 \(name)입니다.")
18
+ .font(.largeTitle)
19
+ Text("저의 팀은 \(team) 입니다.")
20
+ .font(.subheadline)
21
+ }
22
+}
23
24
+#Preview {
25
+ PepprView()
26
0 commit comments