deal with the conflicts the right way....

pull/131/head
Ryan ZHAO 5 years ago
parent 82bbc5369d
commit 5bf9d0a68b

@ -104,7 +104,11 @@ final class HomeVC : UIViewController, UITableViewDataSource, UITableViewDelegat
tableView.pin(.trailing, to: .trailing, of: view)
tableView.pin(.bottom, to: .bottom, of: view)
view.addSubview(fadeView)
fadeView.pin(to: view)
fadeView.pin(.leading, to: .leading, of: view)
let topInset = 0.15 * view.height()
fadeView.pin(.top, to: .top, of: view, withInset: topInset)
fadeView.pin(.trailing, to: .trailing, of: view)
fadeView.pin(.bottom, to: .bottom, of: view)
// Set up search bar
// tableView.tableHeaderView = searchBar
// searchBar.sizeToFit()

Loading…
Cancel
Save