 		super.viewDidLoad()
 		// Do any additional setup after loading the view, typically from a nib.
 		
-		self.addMyViews(8, vWidth: 140, vHeight: 180, vSpacing: 10, bCentered: true)
+		self.addMyViews(8, vWidth: 200, vHeight: 200, vSpacing: 10, bCentered: true)
 	}
 
 	override func didReceiveMemoryWarning() {

				
				// Center vertically in scroll view
				
				vFmt = "V:[\(currRef)(height)]";
				self.theScrollView.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(vFmt, options: [], metrics: dMetrics, views: dViews))

				let constraints = NSLayoutConstraint.constraintsWithVisualFormat(
					"H:[scrollview]-(<=1)-[sampleview]",
					options: NSLayoutFormatOptions.AlignAllCenterY,
					metrics: nil,
					views: ["scrollview":self.theScrollView, "sampleview":v])
				
				view.addConstraints(constraints)
				
			} else {
				
				// aligned to top of scroll view
				
				vFmt = "V:|[\(currRef)(height)]|"
				
				self.theScrollView.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(vFmt, options: [], metrics: dMetrics, views: dViews))
				
			}

			prevRef = currRef

			i = i + 1
			
		}
		
		hFmt = "H:[\(prevRef)]|"
		self.theScrollView.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(hFmt, options: [], metrics: dMetrics, views: dViews))
		
	}

		var i = 1
		
		while (i < n + 1) {

			// load an instance of our SampleView
			v = UINib(nibName: "SampleView", bundle: nil).instantiateWithOwner(nil, options: nil)[0] as! UIView
			v.translatesAutoresizingMaskIntoConstraints = false
			
			// the UILabel in our SampleView was assigned a Tag of 99 in IB
			lbl = v.viewWithTag(99) as! UILabel
			lbl.text = "\(i)"
			
			// add this view to the ScrollView
			self.theScrollView.addSubview(v)
			
			// create a string "named" reference to the current view
			currRef = "mv\(i)"
			
			// add this view to our Views dictionary
			dViews[currRef] = v
			
			if (prevRef == "") {

				// if this is the first view, add an "Opening" Horizontal constraint by pinning it to the left
				hFmt = "H:|[\(currRef)(width)]"

				// use this format if you want left / leading padding
				// hFmt = "H:|-\(vSpacing)-[\(currRef)(width)]"
				
			} else {
				
				// this is not the first view, so we pin it to the previous view, with spacing
				hFmt = "H:[\(prevRef)]-\(vSpacing)-[\(currRef)(width)]"
				
			}
			
			// add the Horizontal constraints
			self.theScrollView.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(hFmt, options: [], metrics: dMetrics, views: dViews))

			
