CardsLayout
  • March 1, 2024

CardsLayout is a lightweight Collection Layout.

Installation


CocoaPods

You can use CocoaPods to install CardsLayout by adding it to your Podfile:

platform :ios, ‘9.0’
use_frameworks!
pod ‘CardsLayout’

import CardsLayout

Manual

  1. Add CardsCollectionViewLayout file to your project
  2. Configure collectionView:

collectionView.collectionViewLayout = CardsCollectionViewLayout()
collectionView.isPagingEnabled = true
collectionView.showsHorizontalScrollIndicator = false

GitHub


View Github

#cards #collectionview #collectionviewlayout #ios #swift #uikit
YOU MIGHT ALSO LIKE...
EEStackLayout

A vertical stackview which takes subviews with different widths and adds them to it's rows with paddings, spacings etc.

AudioManager

AudioManager is a Swift package that provides a modular and easy-to-use interface for implementing audio feedback in your applications. It ...

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 ...