AnimatedCollectionViewLayout - A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code

  •        48

Normally a UICollectionView has no transition effects when you scroll from one item to another. There are lots of ways to write animations for UICollectionView, but using a UICollectionViewLayout subclass is by far the simplest one. And it doesn't break any of your existing code. You can still use your UICollectionView subclass and you don't need to change your UICollectionViewCell. Just plug and enjoy. To run the example project, clone the repo, and start iOS Example in Xcode.

https://github.com/KelvinJin/AnimatedCollectionViewLayout

Tags
Implementation
License
Platform

   




Related Projects

Gemini - Gemini is rich scroll based animation framework for iOS, written in Swift.

  •    Swift

Gemini is rich scroll based animation framework for iOS, written in Swift. You can easily use GeminiCollectionView, which is a subclass of UICollectionView. It enables you to make multiple animation which has various and customizable properties, and moreover can create your own custom scroll animation.

MEVHorizontalContacts - An iOS UICollectionViewLayout subclass to show a list of contacts with configurable expandable items

  •    Objective-C

An iOS UICollectionViewLayout subclass to show a list of contacts with configurable expandable items. To run the example project, clone the repo, and run pod install from the Example directory first.

SFFocusViewLayout - UICollectionViewLayout with focused content

  •    Swift

SFFocusViewLayout is a UICollectionViewLayout subclass for displaying focused content on UICollectionView which is the largest cell of all. SFFocusViewLayout contains three properties to customize the interface.

CollectionViewShelfLayout - A UICollectionViewLayout subclass displays its items as rows of items similar to the App Store Feature tab without a nested UITableView/UICollectionView hack

  •    Swift

A UICollectionViewLayout subclass displays its items as rows of items similar to the App Store Feature tab without a nested UITableView/UICollectionView hack. You can use a single data source for all of your contents. Each section displays its items in a row. CollectionViewShelfLayout supports collection view's header view and footer view similar to table view's tableHeaderView and tableFooterView also sections' header and footer views too. This requirement is due to usage of some Auto Layout APIs available in iOS 8 and 9 or later. If you want to use CollectionViewShelfLayout in iOS 8, you can replace NSLayoutAnchor usage with other APIs.


TransitionButton - UIButton sublass for loading and transition animation.

  •    Swift

To run the example project, clone the repo, then open the workspace TransitionButton.xcworkspace run using iOS Example scheme. Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

RFQuiltLayout - A UICollectionViewLayout subclass to put items in a quilting pattern

  •    Objective-C

RFQuiltLayout is a UICollectionViewLayout subclass, used as the layout object of UICollectionView. Add the layout as the subclass of your UICollectionViewLayout.

MEVFloatingButton - An iOS drop-in UITableView, UICollectionView and UIScrollView superclass category for showing a customizable floating button on top of it

  •    Objective-C

An iOS drop-in UITableView, UICollectionView, UIScrollView superclass category for showing a customizable floating button on top of it. To run the example project, clone the repo, and run pod install from the Example directory first.

Persei - Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift

  •    Swift

Made in Yalantis. For application targets that do not support embedded frameworks, such as iOS 7, Persei can be integrated by including source files from the Persei folder directly, optionally wrapping the top-level types into struct Persei to simulate a namespace. Yes, this sucks.

DisplaySwitcher - Custom transition between two collection view layouts

  •    Swift

This component implements custom transition between two collection view layouts with custom animation duration. Check this project on dribbble.

ZoomTransitioning - ZoomTransitioning provides a custom transition with image zooming animation and swiping the screen edge

  •    Swift

ZoomTransitioning provides a custom transition with image zooming animation. When you use this library with UINavigationController, you can pop view controller with edge swiping. Run the demo project in the Demo directory without carthage update or pod install.

VegaScroll - ↕️ VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9

  •    Swift

VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9. Add the following line in your Podfile.

Hero - Elegant transition library for iOS & tvOS

  •    Swift

Hero is a library for building iOS view controller transitions. It provides a declarative layer on top of the UIKit's cumbersome transition APIs—making custom transitions an easy task for developers.Hero is similar to Keynote's Magic Move. It checks the heroID property on all source and destination views. Every matched view pair is then automatically transitioned from its old state to its new state.

GC3DFlipTransitionStyleSegue - iBooks-style 3D flip transition animation rendered in OpenGL ES 2

  •    Objective-C

iBooks-style 3D flip transition animation rendered in OpenGL ES 2.0 and wrapped in a UIStoryboardSegue subclass. GC3DFlipTransitionStyleSegue requires iOS 5.0 and above.

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.

Hero - Elegant transition library for iOS & tvOS

  •    Swift

Hero is a library for building iOS view controller transitions. It provides a declarative layer on top of the UIKit's cumbersome transition APIs—making custom transitions an easy task for developers. Hero is similar to Keynote's Magic Move. It checks the heroID property on all source and destination views. Every matched view pair is then automatically transitioned from its old state to its new state.

Transition - Easy interactive interruptible custom ViewController transitions

  •    Swift

Transition is a library that helps you build iOS view controller transitions. Implementing a nice interactive custom view controller transition involves quite a number of components. You have to implement the correct delegates, handle the switching between passive animation and active interaction phases, ensure the timing is right, think of interruption and cancellation, keep responsibilities separated... It quickly gets messy! This is where Transition helps you out: you just define the animation and the interaction, Transition ties it all together. To run an example project, clone the repo, navigate to one of these example directories, and run pod install from that directory first.

RMPZoomTransitionAnimator - A custom zooming transition animation for UIViewController

  •    Objective-C

RMPZoomTransitionAnimator provide a custom transition zooming animation. Not only UICollectionView, this is possible to use any other UIViewController transition.

GuillotineMenu - Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine

  •    Swift

You are welcome to see the sample of the project for fully operating sample in the Example folder. Of course, you can assign different "supportView" or "presentButton" for menu, but we think that's the best case would be behaviour like in Example project.