TableKit/Demo/Classes/Presentation/Views/ConfigurableTableViewCell.s...

19 lines
382 B
Swift

//
// ConfigurableTableViewCell.swift
// TableKitDemo
//
// Created by Max Sokolov on 18/06/16.
// Copyright © 2016 Tablet. All rights reserved.
//
import UIKit
import TableKit
class ConfigurableTableViewCell: UITableViewCell, ConfigurableCell {
func configure(with text: String) {
accessoryType = .DisclosureIndicator
textLabel?.text = text
}
}