Created
January 13, 2019 20:39
-
-
Save Hadevs/0ee4a5f5094ca870609ed24210ea7596 to your computer and use it in GitHub Desktop.
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
import UIKit | |
class ProVersionViewController: UIViewController { | |
@IBOutlet weak var tableView: UITableView! | |
private let constructor = ProVersionConstructor() | |
private lazy var dataSource = constructor.delegateDataSource() | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
tableView.separatorInset = .goAway | |
tableView.backgroundColor = .clear | |
view.backgroundColor = CRColor.chatBackgroundColor | |
NavigationBarDecorator.decorate(self) | |
constructor.setup(at: tableView, dataSource: dataSource) | |
self.title = "Pro Version" | |
tableView.contentInset = UIEdgeInsets(top: 16, left: 0, bottom: 32, right: 0) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment