Skip to content

Instantly share code, notes, and snippets.

@softauthor
Created March 29, 2020 02:17
Show Gist options
  • Save softauthor/2f2f05cd7426e2084073b06dcf578e0e to your computer and use it in GitHub Desktop.
Save softauthor/2f2f05cd7426e2084073b06dcf578e0e to your computer and use it in GitHub Desktop.
import UIKit
class ViewController: UIViewController {
var MillennialFoodTableView = UITableView()
override func viewDidLoad() {
super.viewDidLoad()
MillennialFoodTableView.frame = CGRect(x:0, y:0, width:view.bounds.width, height:view.bounds.height)
view.addSubview(MillennialFoodTableView)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment