 		}
 	}
 	
+	let collectionViewHeight: CGFloat = 100
+	
 	override func viewWillLayoutSubviews() {
 		super.viewWillLayoutSubviews()
 		var frame = view.bounds
-		frame.size.height = 100
+		frame.size.height = collectionViewHeight
 		frame.origin.y = (view.bounds.height - frame.height) * 0.5
 		collectionView.frame = frame
+//		collectionView.setNeedsLayout()
+//		collectionView.reloadData()
+//		layout.invalidateLayout()
 	}
 	
 	override func viewWillAppear(animated: Bool) {
 		super.viewWillAppear(animated)
 		view.addGestureRecognizer(pinchGestureRecognizer)
+		
+		collectionView.reloadData()
 	}
 
 	override func viewDidDisappear(animated: Bool) {

import SwiftyFORM

class FlowLayout: UICollectionViewFlowLayout {
	
}

class SliderCell: UICollectionViewCell {
	static let identifier = "cell"
}



	

	func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
		return 100
	}
	
	func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {
