A custom UICollectionView layout with configurable global header and pinnable / stretchable sections (Swift 3 / Xcode 8.x)
Switch branches/tags
Nothing to show
Clone or download
Latest commit eb3439d Oct 20, 2016

README.md

AKPFlowLayout

Language License

AKPFlowLayout is a custom Collection View layout with configurable global header and pinnable, stretchable sections.

Blogs

Sample App

Features

  • A custom UICollectionViewFlowLayout-based layout with support for:
  • Global header
  • Sticky section headers
  • Pinnable, stretchable sections
  • Fully configurable

  • Built for performace using custom invalidation context

  • Written in Swift 3 and Xcode 8

Requirements

  • iOS 8+
  • Xcode 8
  • Swift 3

Installation

CocoaPods (recommended)

use_frameworks!
pod 'AKPFlowLayout'

Carthage

  1. Add AKPFlowLayout to your Cartfile:
    github "akpw/AKPFlowLayout"
    
  2. Follow the Carthage instructions on adding frameworks for further reference

Docs

Initial docs, generated with jazzy and hosted by GitHub Pages.

Building the project

  1. Clone the repository
$ git clone https://github.com/akpw/AKPFlowLayout
  1. Run carthage.sh
$ cd AKPFlowLayout
$ ./carthage.sh
  1. Open the workspace in Xcode
$ open "AKPFlowLayout.xcworkspace"
  1. Compile and test in Xcode