All Projects → drougojrom → CSStickyFlowLayoutHeaders

drougojrom / CSStickyFlowLayoutHeaders

Licence: MIT license
UICollectionView replacement for your amazing headers

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to CSStickyFlowLayoutHeaders

Bouncylayout
Make. It. Bounce.
Stars: ✭ 4,035 (+25118.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout, flowlayout
JQCollectionViewAlignLayout
A custom layout object based on flow layout. Added supports for horizontal, vertical alignment and RTL direction of collection view items.(available for both UICollectionView and NSCollectionView)
Stars: ✭ 69 (+331.25%)
Mutual labels:  uicollectionview, uicollectionviewlayout, uicollectionviewflowlayout
Admozaiccollectionviewlayout
ADMozaicCollectionViewLayout is yet another UICollectionViewLayout subclass that implements "brick", "mozaic" or Pinterest style layout.
Stars: ✭ 226 (+1312.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Pagingkit
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries.
Stars: ✭ 1,030 (+6337.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Flowlayout
UICollectionView WaterFlowLayout. 瀑布流.
Stars: ✭ 94 (+487.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Collectionviewpaginglayout
a simple but highly customizable paging layout for UICollectionView.
Stars: ✭ 947 (+5818.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Centeredcollectionview
A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift
Stars: ✭ 965 (+5931.25%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Bubblecollectionviewlayout
Create bubble layout of UICollectionView using custom layout
Stars: ✭ 79 (+393.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Swiftspreadsheet
Spreadsheet CollectionViewLayout in Swift. Fully customizable. 🔶
Stars: ✭ 590 (+3587.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
CPCollectionViewWheelLayoutSwift
New url:https://github.com/ParsifalC/CPCollectionViewKit Objective-C Version:https://github.com/ParsifalC/CPCollectionViewWheelLayout
Stars: ✭ 16 (+0%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Lxreorderablecollectionviewflowlayout
Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.
Stars: ✭ 1,831 (+11343.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Collectionviewslantedlayout
A CollectionView Layout displaying a slanted cells
Stars: ✭ 2,029 (+12581.25%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Vegascroll
↕️ VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9.
Stars: ✭ 2,647 (+16443.75%)
Mutual labels:  uicollectionview, flowlayout
Blueprints
🌀 Blueprints - A framework that is meant to make your life easier when working with collection view flow layouts.
Stars: ✭ 874 (+5362.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Alignedcollectionviewflowlayout
A collection view layout that gives you control over the horizontal and vertical alignment of the cells.
Stars: ✭ 751 (+4593.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Drcollectionviewtablelayout Ios
UICollectionView 2d-table / grid / spreadsheet layout
Stars: ✭ 74 (+362.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Squaremosaiclayout
An extandable mosaic UICollectionViewLayout with a focus on extremely flexible customizations 🔶
Stars: ✭ 243 (+1418.75%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Chtcollectionviewwaterfalllayout
The waterfall (i.e., Pinterest-like) layout for UICollectionView.
Stars: ✭ 4,288 (+26700%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Carlenscollectionviewlayout
An easy-to-use Collection View Layout for card-like animation.
Stars: ✭ 478 (+2887.5%)
Mutual labels:  uicollectionview, uicollectionviewlayout
Cpcollectionviewkit
Interesting UICollectionView layouts and transitions
Stars: ✭ 140 (+775%)
Mutual labels:  uicollectionview, uicollectionviewlayout

CSStickyFlowLayoutHeaders

This project was inspired by CSStickyHeaderFlowLayout. Here you can find a swift translation of both - layout and examples. Just build and check it out.

Types of headers which you can find here:

Parallax header:

Screenshot

Sticky header:

Screenshot2

Growing header:

Screenshot3

AlwaysOnTop header:

Screenshot4

Installation:

Move CSStickyHeaderFlowLayout.swift and CSStickyHeaderFlowLayoutAttributes.swift into your project then configure constraints using one of the examples in .xib files.

You may also need to make CSStickyHeaderFlowLayout your collectionView layout. You can do that in viewDidLoad:

    private var layout : CSStickyHeaderFlowLayout? {
        return self.collectionView?.collectionViewLayout as? CSStickyHeaderFlowLayout
    }

    override func viewDidLoad() {
        super.viewDidLoad()

        let headerNib = UINib(nibName: "CSParallaxHeader", bundle: nil)
        self.collectionView?.register(headerNib, forSupplementaryViewOfKind: CSStickyHeaderParallaxHeader, withReuseIdentifier: "header")
        
        self.layout?.parallaxHeaderReferenceSize = CGSize(width: self.view.frame.size.width, height: 100)
    }

In progress:

Cocoapods support, carthage support

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].