Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Skeletonview | 12,111 | 24 | a month ago | 61 | August 11, 2022 | 62 | mit | Swift | ||
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting | ||||||||||
Viewanimator | 6,825 | 26 | a year ago | 20 | November 23, 2020 | 10 | mit | Swift | ||
ViewAnimator brings your UI to life with just one line | ||||||||||
Collectionkit | 4,232 | 11 | a year ago | 13 | October 22, 2018 | 38 | mit | Swift | ||
Reimagining UICollectionView | ||||||||||
Animatedcollectionviewlayout | 3,978 | 12 | 3 years ago | 9 | December 03, 2019 | 20 | mit | Swift | ||
A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code. | ||||||||||
Tabanimated | 3,275 | 1 | a month ago | 69 | August 12, 2021 | 38 | mit | Objective-C | ||
A skeleton screen loading framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。) | ||||||||||
Persei | 3,249 | 10 | 3 years ago | 8 | October 26, 2017 | 1 | mit | Swift | ||
Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift | ||||||||||
Vegascroll | 2,905 | 10 | 10 months ago | 2 | October 09, 2017 | 22 | mit | Swift | ||
↕️ VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9. | ||||||||||
Gemini | 2,833 | 3 | 3 years ago | 7 | October 22, 2018 | 14 | mit | Swift | ||
Gemini is rich scroll based animation framework for iOS, written in Swift. | ||||||||||
Collectionviewpaginglayout | 2,294 | 6 months ago | 19 | April 04, 2022 | 7 | mit | Swift | |||
A simple but highly customizable UICollectionViewLayout for UICollectionView -- Simple SwiftUI views that let you make page-view effects. | ||||||||||
Verticalcardswiper | 1,262 | 1 | 2 days ago | 14 | February 23, 2020 | 15 | mit | Swift | ||
A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift. |
TransformableView
, SwiftUI: TransformPageView
Click on image to see the code
SnapshotTransformView
, SwiftUI: SnapshotPageView
ScaleTransformView
, SwiftUI: ScalePageView
StackTransformView
, SwiftUI: StackPageView
UIKit:
A simple but powerful framework that lets you make complex layouts for your UICollectionView
.
The implementation is quite simple. Just a custom UICollectionViewLayout
that gives you the ability to apply transforms to the cells.
No UICollectionView inheritance or anything like that.
SwiftUI:
A simple View
that lets you make page-view effects.
Powered by UICollectionView
For more details, see How to use
This framework doesn't contain any external dependencies.
# Podfile
use_frameworks!
target 'YOUR_TARGET_NAME' do
pod 'CollectionViewPagingLayout'
end
Replace YOUR_TARGET_NAME
and then, in the Podfile
directory, type:
$ pod install
Add this to Cartfile
github "CollectionViewPagingLayout"
and then, in the Cartfile
directory, type:
$ carthage update
using Xcode:
File > Swift Packages > Add Package Dependency
Just add all the files under Lib
directory to your project
There is a macOS app to make it even easier for you to build your custom layout.
It allows you to tweak many options and see the result in real-time.
It also generates the code for you. So, you can copy it to your project.
You can purchase the app from App Store and support this repository,
or you can build it yourself from the source.
Yes, the macOS app is open-source too!.
Specify the number of visible items:
You need to specify the number of visible items.
Since this layout gives you the flexibility to show the next and previous cells,
By default, it loads all of the cells in the collectionview's frame, which means iOS keeps all of them in the memory.
Based on your design, you can specify the number of items that you need to show.
It doesn't support RTL layouts:
however, you can achieve a similar result by tweaking options, for instance try StackTransformViewOptions.Layout.reverse
CollectionViewPagingLayout is available under the MIT license. See LICENSE file for more info.