       if d.respondsToSelector("collectionView:layout:sizeForItemAtIndexPath:") {
         return d.collectionView(cv, layout: self, sizeForItemAtIndexPath: indexPath)
       }
-    }
-
-    return CGSizeMake(1.0, 1.0)
+      }
+
+    return CGSize(width: 1.0, height: 1.0)
   }
 
   private func positionForIndexPath(indexPath: NSIndexPath) -> CGPoint {

  required init?(coder aDecoder: NSCoder) {
    scrollDirection = .Vertical
    preemptivelyRenderLayout = false
    cellSize = CGSizeMake(100.0, 100.0)
    layoutAttributesCache = [UICollectionViewLayoutAttributes]()
    layoutRectCache = CGRectZero
    indexPathCache = NSIndexPath(forRow: 0, inSection: 0)

  override init() {
    scrollDirection = .Vertical
    preemptivelyRenderLayout = false
    cellSize = CGSize(width: 100.0, height: 100.0)
    layoutAttributesCache = [UICollectionViewLayoutAttributes]()
    layoutRectCache = CGRectZero
    indexPathCache = NSIndexPath(forRow: 0, inSection: 0)
