Latest 1.1.2
Homepage https://github.com/MillmanY/MMCardView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Demo

1.Card

demo

Requirements

iOS 8.0+
Xcode 8.0+
Swift 3.0+

Use Card

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
}

Installation

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’

Author

Millman, [email protected]

License

MMCardView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MMCardView",
    "version": "1.1.2",
    "summary": "Custom CollectionView",
    "description": "Custom CollectionView like Wallet",
    "homepage": "https://github.com/MillmanY/MMCardView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Millman": "[email protected]"
    },
    "source": {
        "git": "https://github.com/MillmanY/MMCardView.git",
        "tag": "1.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MMCardView/Classes/**/*",
    "pushed_with_swift_version": "3.0-GM-CANDIDATE"
}

Pin It on Pinterest

Share This