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
4 changes: 3 additions & 1 deletion GithubPractice/GithubPractice/Model/LearnerViews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ import Foundation
// TODO: 2. learnerViews에 μžμ‹ μ˜ View μΆ”κ°€ν•˜κ³  컀밋!
let learnerViews: [any LearnerView] = [
LumiView(),
FridayView()
FridayView(),
WayView()
]

Comment on lines 11 to +18

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

μ–΄ !!! 웨이 잘 λ°”κΎΈμ…¨λ„€μš” !! λ·° λ¦¬μŠ€νŠΈμ— 잘 λ“€μ–΄κ°”μ–΄μš” !! λ©‹μ €μš” !!

26 changes: 26 additions & 0 deletions GithubPractice/GithubPractice/View/LearnerViews/WayView.swift
Original file line number Diff line number Diff line change
@@ -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()
}
Comment on lines +10 to +26

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

와 μ§μ΄λ„€μš” !!!