Created
August 15, 2016 12:17
-
-
Save hudinwal/423448d977512fb7f921cd447e285e45 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
// Create a lazy table view | |
lazy var pullDownTableView : UITableView = { | |
let pullDownTableView = UITableView(frame:self.view.frame) | |
pullDownTableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: "cell_id") | |
pullDownTableView.delegate = self | |
pullDownTableView.dataSource = self | |
pullDownTableView.rowHeight = 80.0 | |
pullDownTableView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight] | |
return pullDownTableView | |
}() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment