Skip to content

Commit

Permalink
[#4] StudentTableViewCell 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
Minny27 committed Sep 17, 2021
1 parent c7a3c0a commit efa611a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Cell/StudentTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@
// Created by SeungMin on 2021/09/17.
//

import Foundation
import UIKit

final class StudentTableView: UITableViewCell {
@IBOutlet weak var studentNameLabel: UILabel!
@IBOutlet weak var studentAgeLabel: UILabel!

func updateStudentInfo(studentInfo: Student) {
studentNameLabel.text = studentInfo.name
studentAgeLabel.text = studentInfo.age
}
}

0 comments on commit efa611a

Please sign in to comment.