Created
August 15, 2016 16:05
-
-
Save hudinwal/52b55eee1c3094a8b07b2d1c6f484f49 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
lazy var moveableImageView: UIImageView = { | |
let imageView = UIImageView(frame: self.view.frame) | |
imageView.contentMode = .ScaleAspectFit | |
imageView.image = UIImage(named: "Image") | |
imageView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight] | |
return imageView | |
}() | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
//.. | |
// Add the moveableImageView below the table view | |
self.view.addSubview(moveableImageView) | |
self.view.addSubview(pullDownTableView) | |
//.. | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment