MMCardView
  • March 1, 2024

Example


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

Demo


1.Card

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’

GitHub


View Github

#card #ios8 #iphone #swift
YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...