TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jul 2017 |
SwiftSwift Version | 3.0-GM-CANDIDATE |
SPMSupports SPM | ✗ |
Maintained by MM.
To run the example project, clone the repo, and run pod install
from the Example directory first.
1.Card
iOS 8.0+
Xcode 8.0+
Swift 3.0+
1.Inherit your collectionView to MMCollectionView
@IBOutlet weak var cardCollection: MMCollectionView!
2.Create your Cell inherit "CardCell"
class CardACell: CardCell {
}
if let layout = cardCollection.collectionViewLayout as? CustomCardLayout {
layout.titleHeight = 100.0
layout.bottomShowCount = 3
layout.cardHeight = 300
layout.showStyle = .cover
}
MMCardView is available through CocoaPods. To install it, simply add the following line to your Podfile:
Swift 3
pod 'MMCardView'
Swift2.3
pod 'MMCardView',:git => 'https://github.com/MillmanY/MMCardView', :branch => ‘Swift2’
Millman, [email protected]
MMCardView is available under the MIT license. See the LICENSE file for more info.