Skip to content

remaerd/Lasagna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lasagna

Carthage compatible Version License

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.

Demo

Carthage

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)

About

Card stack with UICollectionView

Resources

License

Stars

Watchers

Forks

Packages

No packages published