Created
April 18, 2019 11:26
-
-
Save hitendradeveloper/d75916a0f5f8ed13e8e2f81d07479044 to your computer and use it in GitHub Desktop.
HSUndoRedoTutorial1 - StudentTableViewCell.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// StudentTableViewCell.swift | |
// HSUndoRedoTutorial1 | |
// | |
// Created by Hitendra on 18/04/19. | |
// Copyright © 2019 Hitendra iDev. All rights reserved. | |
// | |
import UIKit | |
class StudentTableViewCell: UITableViewCell { | |
var student: Student! { | |
didSet { | |
self.textLabel?.text = self.student.name | |
self.detailTextLabel?.text = self.student.studyInClass | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment