Skip to content

Instantly share code, notes, and snippets.

View BayPhillips's full-sized avatar

Bay Phillips BayPhillips

View GitHub Profile
@BayPhillips
BayPhillips / dumbuiviewcontroller
Last active June 8, 2017 13:17
A dumb Swift UIViewController with UITableView
import UIKit
class DumbViewController: UIViewController, UITableViewDataSource {
var items: [Int] = [Int]()
override func viewDidLoad() {
super.viewDidLoad()
self.view.backgroundColor = UIColor.whiteColor()