Lasagna is a Swift Framework which help you implement Card Stack UICollectionView works similar as UITableView. Different from similar Objective-C Framework, Lasagna is carefully written to works well.
Please intall Carthage then insert the following code into your Cartfile
.
github "remaerd/Lasagna"
###Example
let layout = CardCollectionViewLayout()
layout.edgeInsets = UIEdgeInsets(top: 40, left: 0, bottom: 40, right: 0)
layout.cardSize = CGSize(width: 320, height: 480)
let cardView = UICollectionView(frame: self.view.frame, collectionViewLayout: layout)
cardView.registerClass(CardCell.self, forCellWithReuseIdentifier: "Cell")
cardView.backgroundColor = UIColor.whiteColor()
cardView.dataSource = self
cardView.delegate = self
self.view.addSubview(cardView)