Sticky headers for UICollectionView written in pure Swift
Based on CSStickyHeaderFlowLayout. StickyHeaderFlowLayout
makes it easy to create sticky headers in UICollectionView
.
You can use CocoaPods to install StickyHeaderFlowLayout
by adding it to your Podfile
:
platform :ios, '9.0'
target 'MyApp' do
pod 'StickyHeaderFlowLayout'
end
To use this library in your project manually you may:
Just drag StickyHeaderFlowLayout.swift
and StickyHeaderFlowLayoutAttributes.swift
to the project tree
Repository contains small sample project which shows basic integration.