Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Foundation
- import UIKit
- extension UITableViewCell {
- func makeCustomText (model: Holiday?) {
- guard let _ = model else {
- return
- }
- let customText = model!.description + ", " + model!.month + " " + model!.day + " " + model!.year
- self.textLabel?.text = customText
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement