 
 class ATLProgramatical1ViewController: UIViewController {
     //0: Using NSLayoutConstraint, 1: Using VisualFormatLanguage, 2: Using NSLayoutAnchor (iOS 9)
-    var constaintType: Int8 = 0
+    var constaintType: Int8 = 1
     var isIOS9: Bool = false
     
     override func viewDidLoad() {

                                                                             options: [], metrics: metrics, views: views)
            allConstraints += constraint2
            NSLayoutConstraint.activateConstraints(allConstraints)
        }
    }
    func createRightTopLabel() {

        let label = UILabel()
        label.text = "Left Top"
        label.translatesAutoresizingMaskIntoConstraints = false
        label.backgroundColor = UIColor.greenColor()
        label.tag = 101
        self.view.addSubview(label)
        
        //Config constraints
        switch constaintType {
        case 1:
            // Creating constraints using Visual Format Language: from iOS 6.0
            let metrics = ["padding":20.0]
            let views : [String : AnyObject] = ["label": label,"topLayoutGuide": topLayoutGuide]
