Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions GithubPractice/GithubPractice/Model/LearnerViews.swift
Copy link
Member

@01sys10 01sys10 May 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow~~ LGTM!!!!

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import Foundation
// TODO: 2. learnerViews에 μžμ‹ μ˜ View μΆ”κ°€ν•˜κ³  컀밋!
let learnerViews: [any LearnerView] = [
LumiView(),
FridayView(),
DeanView(),
JudyView(),
FridayView(),
ElenaView(),
Expand Down
26 changes: 26 additions & 0 deletions GithubPractice/GithubPractice/View/LearnerViews/DeanView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// LumiView.swift
// GithubPractice
//
// Created by μ •μ˜μ§„ on 5/22/25.
//

import SwiftUI

struct DeanView: LearnerView {
// TODO: 1. 이름, νŒ€ μˆ˜μ •ν•˜κ³  μ»€λ°‹ν•˜κΈ°
var name: String = "Dean"

var team: String = "λŸ¬λ„ˆνŒ€"

var body: some View {
Text("μ €μ˜ 이름은 \(name)μž…λ‹ˆλ‹€.")
.font(.largeTitle)
Text("μ €μ˜ νŒ€μ€ \(team) μž…λ‹ˆλ‹€.")
.font(.subheadline)
}
}

#Preview {
DeanView()
}