ZSectionLayout - custom collectionViewLayout,realize the section layout 自定义collectionViewLayout,实现多section布局

  •        31

custom collectionViewLayout,realize the section layout 自定义collectionViewLayout,实现多section布局




Related Projects

ChainPageCollectionView - A custom View with fancy collectionView animation

  •    Swift

A custom View with two level chained collection views and fancy transition animation. Run pod install.

MPSkewed - An iOS collection view subclass to present a list of skewed images and a collection view layout to add parallax to the images

  •    Objective-C

The past versions (<= 0.2.0) were just an initial test, hope nobody used it in production :) . I didn't had lot of time to make it pretty and working properly but now after lot of time I worked on this pod again, I made the code a bit less ugly and the layout working more reliably. See 0.9.0 as a beta of 1.0.0; The public APIs should not change from now to 1.0.0 while I didn't care about this from 0.2.0 to 0.9.0. If it works properly for you and you want to use it, do it. If you have troubles please open an issue. Just use the CollectionView Layout as any other layout and use MPSkewedCell(s). To run the example project, clone the repo amd open MPSkewed.xcworkspace in the Example folder.

BouncyLayout - Make. It. Bounce.

  •    Swift

BouncyLayout is a collection view layout that makes your cells bounce. The only you thing you need to do is import BouncyLayout, create an instance and add it to your UICollectionView.

Koloda - KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.

  •    Swift

KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS. It adds convenient functionality such as a UITableView-style dataSource/delegate interface for loading views dynamically, and efficient view loading, unloading . KolodaView requires ARC.

RACollectionViewReorderableTripletLayout - The custom collectionView layout that can perform reordering of cells by dragging it

  •    Objective-C

Add RACollectionViewReorderableTripletLayout to your collection view, then set delegate and datasource. RACollectionViewReorderableTripletLayout is available under the MIT license. See the LICENSE file for more info.

MMCardView - Cusom CollectionView card layout

  •    Swift

To run the example project, clone the repo, and run pod install from the Example directory first. MMCardView is available under the MIT license. See the LICENSE file for more info.

CollectionKit - Reimagining UICollectionView

  •    Swift

A modern Swift framework for building composable data-driven collection view. To start using CollectionKit, use CollectionView in place of UICollectionView. CollectionView is CollectionKit's alternative to UICollectionView. You give it a Provider object that tells CollectionView how to display a collection.

DataSources - 💾 🔜📱 Type-safe data-driven CollectionView, TableView Framework

  •    Swift

Partial updates(insert, delete, move) of UICollectionView/UITableView is important things for fancy UI. But, It's hard that synchronous of data and UI. DataSources will solve this problem. Order of Section will be decided in the order of addition.

SwiftSpreadsheet - Spreadsheet CollectionViewLayout in Swift. Fully customizable. 🔶

  •    Swift

To run the example project, clone the repo, and run pod install from the Example directory first. The rows of the spreadsheet represent a section in the collection view, with columns being the respective items. The leftmost and the rightmost elements of the spreadsheet (leftRowHeadline and rightRowHeadline), as well as the topmost and the bottommost elements (topColumnHeader and bottomColumnFooter) are represented as UISupplementaryView, which — if needed — have to be registered with the respective identifiers of the provided enum ViewKindType (refer to the example code).


  •    Javascript

AutoLayout.js implements Apple's Auto Layout and Visual Format Language in Javascript. Auto layout is a system which lets you perform lay out using mathematical relationships (constraints). It uses the awesome Cassowary.js library to do the actual constraint resolving and implements Apple's constraint system and Visual Format Language (vfl) on top of that. It supports the Extended VFL syntax, including view-stacks and z-indexing. AutoLayout.js is an abstract library for integrating Auto Layout and VFL into other javascript technologies. It provides a simple API and programming model that you can use to build your own auto layout and VFL solution. A simple example of this is, is using position: absolute; to lay out DOM elements. A more elobarate example of this is the Visual Format Editor, which is built using famo.us and famous-flex. AutoLayout.js is written in ES6 and contains transpiled distribution files.

PureLayout - The ultimate API for iOS & OS X Auto Layout — impressively simple, immensely powerful

  •    Objective-C

The ultimate API for iOS & OS X Auto Layout — impressively simple, immensely powerful. PureLayout extends UIView/NSView, NSArray, and NSLayoutConstraint with a comprehensive Auto Layout API that is modeled after Apple's own frameworks. PureLayout is a cross-platform Objective-C library that works (and looks!) great in Swift. It is fully backwards-compatible with all versions of iOS and OS X that support Auto Layout. Writing Auto Layout code from scratch isn't easy. PureLayout provides a fully capable and developer-friendly interface for Auto Layout. It is designed for clarity and simplicity, and takes inspiration from the AutoLayout UI options available in Interface Builder while delivering far more flexibility. The API is also highly efficient, as it adds only a thin layer of third party code and is engineered for maximum performance.

greedo-layout-for-android - Full aspect ratio grid LayoutManager for Android's RecyclerView

  •    Java

A drop-in custom layout manager for Android RecyclerViews to layout a grid of photos while respecting their aspect ratios. See the sample project for a complete solution on how to use GreedoLayout. Below are the specific steps.

UIView-Autolayout - Category on UIView to simplify the creation of common layout constraints

  •    Objective-C

If you're making a new app targeting iOS9 or higher, I'd recommend using the new layout anchor functionality and stack views to achieve the layout you require. The layout anchor gives you concise creation of constraints in code, and stack views probably give you 90% of the layouts you were making yourself using constraints anyway. Category on UIView to simplify the creation of common layout constraints. The code is described and introduced in this blog post.

PhysicsLayout - Android layout that simulates physics using JBox2D

  •    Java

If you want to see what your layout looks like when physics is applied to it, simply change your root layout to a physics layout.

project-layout - Standard Go Project Layout

  •    Makefile

This is a basic layout for Go application projects. It's not an official standard defined by the core Go dev team; however, it is a set of common project layout patterns emerging in the Go ecosystem. Some of these patterns are more popular than others. It also has a number of small enhancements along with several supporting directories common to any large enough real world application. If you are trying to learn Go or if you are building a PoC or a toy project for yourself this project layout is an overkill. Start with something really simple (a single main.go file is more than enough). As your project grows keep in mind that it'll be important to make sure your code is well structured otherwise you'll end up with a messy code with lots of hidden dependencies and global state. When you have more people working on the project you'll need even more structure. That's when it's important to introduce a common way to manage packages/libraries. When you have an open source project or when you know other projects import the code from your project repository that's when it's important to have private (aka internal) packages and code. Clone the repository, keep what you need and delete everything else! Just because it's there it doesn't mean you have to use it all. None of these patterns are used in every single project. Even the vendor pattern is not unversal.

FoldableLayout - An Android demo of a foldable layout implementation. Engineered by Vincent Brison.

  •    Java

This code is a showcase of a foldable animation I created for Worldline. The code is fully written with java APIs from the Android SDK, without the use of any external library. This code is a demo and not a library. The foldable layout is a layout (strictly a RelativeLayout), which can have two child layouts, one for the cover, and one for the details. The foldable layout takes care of the folding animation between those two layouts. In the demo the foldable layout is used in a RecyclerView, to show that it can manage well its size even during animation.

FlexLib - FlexLib is a framework for creating native iOS applications using xml file, similar to Android and

  •    Objective-C

FlexLib is an Objective-C layout framework for iOS. It's based on flexbox model which is standard for web layout. So the layout capability is powerful and easy to use. With FlexLib, you can write iOS UI much faster than before, and there are better adaptability.