         layout.sectionInset = UIEdgeInsets(top: 10.0, left: 10.0, bottom: 10.0, right: 10.0)
         layout.estimatedItemSize = CGSizeMake(30, 30)
         let collectionView = UICollectionView(frame: CGRectZero, collectionViewLayout: layout)
+        collectionView.delegate = self
+        collectionView.dataSource = self
+        collectionView.registerClass(UICollectionViewCell.self, forCellWithReuseIdentifier:cellReuseID)
+        collectionView.backgroundColor = FlatUIColors.randomFlatColor()
         return collectionView
     }
     
     //TODO: Refactor with the new extensions
     
+    // MARK: === UICollectionView dataSource ===
+    func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
+        return 32
+    }
     
-    /*
-    // MARK: - Navigation
-
-    // In a storyboard-based application, you will often want to do a little preparation before navigation
-    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
-        // Get the new view controller using segue.destinationViewController.
-        // Pass the selected object to the new view controller.
+    // The cell that is returned must be retrieved from a call to -dequeueReusableCellWithReuseIdentifier:forIndexPath:
+    func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {
+        var cell = collectionView.dequeueReusableCellWithReuseIdentifier(cellReuseID, forIndexPath: indexPath)
+        cell.backgroundColor = FlatUIColors.randomFlatColor()
+        return cell
     }
-    */
-
 }
-
 
 extension FlatUIColors {
     public static func randomFlatColor()->UIColor {

    func produceCardView()->ABSwipeableCardView {
        let cardView = ABSwipeableCardView(superView: view)
        cardView.backgroundColor = FlatUIColors.randomFlatColor()
        var collectionView = getCollectionView()
        cardView.addSubview(collectionView)
        collectionView.frame = CGRectInset(cardView.bounds, 20, 20)
        return cardView

        let randomIndex:Int = Int(arc4random_uniform(UInt32(colors.count)))
        return colors[randomIndex]
    }
}

