Skip to content

Commit

Permalink
Chameleon
Browse files Browse the repository at this point in the history
  • Loading branch information
nixzhu committed Jun 30, 2016
1 parent 43d4e69 commit 3294d97
Showing 1 changed file with 3 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,6 @@ class GeniusInterviewViewController: UIViewController {
NSLayoutConstraint.activateConstraints([leading, trailing, top, height])
}
}

override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}


/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/

}

// MARK: - WKNavigationDelegate
Expand Down Expand Up @@ -139,9 +122,9 @@ extension GeniusInterviewViewController: UIScrollViewDelegate {
let scrollViewHeight = scrollView.bounds.height
let scrollViewContentSizeHeight = scrollView.contentSize.height

println("scrollViewContentOffsetY: \(scrollViewContentOffsetY)")
println("scrollViewHeight: \(scrollViewHeight)")
println("scrollViewContentSizeHeight: \(scrollViewContentSizeHeight)")
//println("scrollViewContentOffsetY: \(scrollViewContentOffsetY)")
//println("scrollViewHeight: \(scrollViewHeight)")
//println("scrollViewContentSizeHeight: \(scrollViewContentSizeHeight)")

let y = (scrollViewContentOffsetY + scrollViewHeight) - scrollViewContentSizeHeight
if y > 0 {
Expand Down

0 comments on commit 3294d97

Please sign in to comment.