Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
3 changes: 2 additions & 1 deletion GithubPractice/GithubPractice/Model/LearnerViews.swift

@01sys10 01sys10 May 23, 2025

Copy link
Copy Markdown
Member

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,5 +10,6 @@ import Foundation
// TODO: 2. learnerViews에 μžμ‹ μ˜ View μΆ”κ°€ν•˜κ³  컀밋!
let learnerViews: [any LearnerView] = [
LumiView(),
FridayView()
FridayView(),
DeanView()
]
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()
}