 	}
 	
 	lazy var pinchGestureRecognizer: UIPinchGestureRecognizer = {
-		let instance = UIPinchGestureRecognizer(target: self, action: #selector(ScientificSliderViewController2.handlePinch))
+		let instance = UIPinchGestureRecognizer(target: self, action: #selector(MyView.handlePinch))
 		instance.delegate = self
 		return instance
 	}()

	}
	
	func commonInit() {
		showsHorizontalScrollIndicator = false
		showsVerticalScrollIndicator = false
		backgroundColor = UIColor.blackColor()
		bounces = false
		alwaysBounceHorizontal = true
		alwaysBounceVertical = false
		registerClass(SliderCell.self, forCellWithReuseIdentifier: SliderCell.identifier)
		contentInset = UIEdgeInsetsZero

		addSubview(leftCoverView)
		addSubview(rightCoverView)
	}
	
	lazy var leftCoverView: UIView = {
		let instance = UIView()
		instance.backgroundColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.2)

	
	override func viewWillAppear(animated: Bool) {
		super.viewWillAppear(animated)
		myView.viewWillAppear()
	}

	override func viewDidDisappear(animated: Bool) {
		super.viewDidDisappear(animated)
		myView.viewDidDisappear()
	}
}
