Skip to content

Instantly share code, notes, and snippets.

@hitendradeveloper
Created April 18, 2019 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitendradeveloper/d75916a0f5f8ed13e8e2f81d07479044 to your computer and use it in GitHub Desktop.
Save hitendradeveloper/d75916a0f5f8ed13e8e2f81d07479044 to your computer and use it in GitHub Desktop.
HSUndoRedoTutorial1 - StudentTableViewCell.swift
//
// 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