Last active
November 13, 2020 02:35
-
-
Save sigidhanafi/bce7fbf5601f2e9f977a4743e616d152 to your computer and use it in GitHub Desktop.
UITableView Getting Started
This file contains hidden or 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
class ViewController: UIViewController { | |
// create property tableview | |
private let tableView: UITableView = { | |
let tableView = UITableView() | |
tableView.backgroundColor = .white | |
tableView.translatesAutoresizingMaskIntoConstraints = false | |
return tableView | |
}() | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view. | |
view.backgroundColor = .white | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment