YBSlantedCollectionViewLayout alternatives and similar libraries
Based on the "Table View / Collection View" category.
Alternatively, view YBSlantedCollectionViewLayout alternatives based on common mentions on social networks and blogs.
-
IGListKit
A data-driven UICollectionView framework for building fast and flexible lists. -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
CHTCollectionViewWaterfallLayout
The waterfall (i.e., Pinterest-like) layout for UICollectionView. -
MCSwipeTableViewCell
👆 Convenient UITableViewCell subclass that implements a swippable content to trigger actions (similar to the Mailbox app). -
VTMagic
VTMagic is a page container library for iOS. -
HGPlaceholders
Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project -
ReverseExtension
A UITableView extension that enables cell insertion from the bottom of a table view. -
Bohr
Bohr allows you to set up a settings screen for your app with three principles in mind: ease, customization and extensibility. -
CenteredCollectionView
A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift -
TimelineTableViewCell
Simple timeline view implemented by UITableViewCell -
BATabBarController
A TabBarController with a unique animation for selection -
CascadingTableDelegate
A no-nonsense way to write cleaner UITableViewDelegate and UITableViewDataSource in Swift. -
ExpandableCell
✨ Awesome expandable, collapsible tableview cell for iOS written in Swift 5 -
CardsLayout
:star: Custom card-designed CollectionView layout -
GLTableCollectionView
Netflix and App Store like UITableView with UICollectionView, written in pure Swift 4.2 -
FMMosaicLayout
A drop-in mosaic collection view layout with a focus on simple customizations. -
ListPlaceholder
ListPlaceholder is a swift library allows you to easily add facebook style animated loading placeholder to your tableviews or collection views. -
SwiftSpreadSheet
Spreadsheet CollectionViewLayout in Swift. Fully customizable. 🔶 -
KDDragAndDropCollectionView
This component allows for the transfer of data items between collection views through drag and drop -
TableFlip
A simpler way to do cool UITableView animations! (╯°□°)╯︵ ┻━┻ -
MYTableViewIndex
A pixel perfect replacement for UITableView section index, written in Swift -
TableViewDragger
A cells of UITableView can be rearranged by drag and drop. -
DataSources
💾 🔜📱 Type-safe data-driven CollectionView, TableView Framework. (We can also use ASCollectionNode) -
DTTableViewManager
Protocol-oriented UITableView management, powered by generics and associated types. -
SwiftReorder
Easy UITableView drag-and-drop cell reordering -
YNExpandableCell
✨ Awesome expandable, collapsible tableview cell for iOS written in Swift 4 -
TLIndexPathTools
TLIndexPathTools is a small set of classes that can greatly simplify your table and collection views. -
TLLayoutTransitioning
Enhanced transitioning between UICollectionView layouts in iOS. -
ExpyTableView
Make your table view expandable just by implementing one method. -
CollapsibleTableSectionViewController
:tada: Swift library to support collapsible sections in a table view. -
RHPreviewCell
I envied so much Spotify iOS app this great playlist preview cell 😍, I decided to create my own one 🌶. Now you can give your users ability to quick check "what content is hidden under your UITableViewCell". Great think is that this Library not requires 3D Touch support from user device💥. -
ASCollectionView
Lightweight custom collection view inspired by Airbnb. -
PagingView
Infinite paging, Smart auto layout, Interface of similar to UIKit. -
TRMosaicLayout
A mosaic collection view layout inspired by Lightbox's Algorithm, written in Swift 🔶 -
SquareMosaicLayout
An extandable mosaic UICollectionViewLayout with a focus on extremely flexible customizations :large_orange_diamond: -
SectionScrubber
A component to quickly scroll between collection view sections -
HoverConversion
HoverConversion realized vertical paging with UITableView. UIViewController will be paging when reaching top or bottom of UITableView contentOffset. -
TORoundedTableView
A subclass of UITableView that styles it like Settings.app on iPad -
GenericDataSource
A generic small reusable components for data source implementation for UITableView/UICollectionView in Swift. -
WheelPicker
Customizable wheel picker view implementation for iOS. -
PJFDataSource
PJFDataSource is a small library that provides a simple, clean architecture for your app to manage its data sources while providing a consistent user interface for common content states (i.e. loading, loaded, empty, and error). -
AZCollectionViewController
Easy way to integrate pagination with dummy views in CollectionView, make Instagram "Discover" within minutes. -
EditDistance
Incremental update tool to UITableView and UICollectionView -
AZTableViewController
Elegant and easy way to integrate pagination with dummy views -
ThreeLevelAccordian
Three Level Accordian View for IOS -
ios-dragable-table-cells
Objective-C library for drag-n-drop of UITableViewCells in a navigation hierarchy of view controllers.
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of YBSlantedCollectionViewLayout or a related project?
README
CollectionViewSlantedLayout is a subclass of the UICollectionViewLayout allowing the display of slanted cells in a UICollectionView.
Features
- [x] Pure Swift 5.
- [x] Works with every UICollectionView.
- [x] Horizontal and vertical scrolling support.
- [x] Dynamic cells height
- [x] Fully Configurable
Installation
CocoaPods
CollectionViewSlantedLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:
use_frameworks!
pod 'CollectionViewSlantedLayout', '~> 3.1'
Carthage
You can also install it via Carthage. To do so, add the following to your Cartfile:
github 'yacir/CollectionViewSlantedLayout'
Usage
Import
CollectionViewSlantedLayout
module to your controllerimport CollectionViewSlantedLayout
Create an instance and add it to your
UICollectionView
.let slantedSayout = CollectionViewSlantedLayout() UICollectionView(frame: .zero, collectionViewLayout: slantedSayout)
Use the
CollectionViewSlantedCell
class for your cells or subclass it.
Find a demo in the Examples folder.
Properties
slantingSize:
@IBInspectable var slantingSize: UInt
The slanting size. The default value of this property is
75
.slantingDirection:
var slantingDirection: SlantingDirection
The slanting direction. The default value of this property is
upward
.slantingAngle:
fileprivate(set) var slantingAngle: CGFloat
The angle, in radians, of the slanting. The value of this property could be used to apply a rotation transform on the cell's contentView in the
collectionView(_:cellForItemAt:)
method implementation.if let layout = collectionView.collectionViewLayout as? CollectionViewSlantedLayout { cell.contentView.transform = CGAffineTransform(rotationAngle: layout.rotationAngle) }
scrollDirection:
var scrollDirection: UICollectionViewScrollDirection
The scroll direction of the grid. The grid layout scrolls along one axis only, either horizontally or vertically. The default value of this property is
vertical
.isFirstCellExcluded:
@IBInspectable var isFirstCellExcluded: Bool
Set it to
true
to disable the slanting for the first cell. The default value of this property isfalse
.isLastCellExcluded:
@IBInspectable var isLastCellExcluded: Bool
Set it to
true
to disable the slanting for the last cell. The default value of this property isfalse
.lineSpacing:
@IBInspectable var lineSpacing: CGFloat
The spacing to use between two items. The default value of this property is
10.0
.itemSize:
@IBInspectable var itemSize: CGFloat
The default size to use for cells. If the delegate does not implement the
collectionView(_:layout:sizeForItemAt:)
method, the slanted layout uses the value in this property to set the size of each cell. This results in cells that all have the same size. The default value of this property is225
.zIndexOrder:
var zIndexOrder: ZIndexOrder
The zIndex order of the items in the layout. The default value of this property is
ascending
.
Protocols
The CollectionViewDelegateSlantedLayout
protocol defines methods that let you coordinate with a CollectionViewSlantedLayout
object to implement a slanted layout. The CollectionViewDelegateSlantedLayout
protocol has the following methods:
optional func collectionView(_ collectionView: UICollectionView,
layout collectionViewLayout: CollectionViewSlantedLayout,
sizeForItemAt indexPath: IndexPath) -> CGFloat
This method asks the delegate for the size of the specified item’s cell.
If you do not implement this method, the slanted layout uses the values in its itemSize
property to set the size of items instead. Your implementation of this method can return a fixed set of sizes or dynamically adjust the sizes based on the cell’s content.
Author
Acknowledgement
This framework is inspired by this prototype released by Matt Bridges.
License
CollectionViewSlantedLayout is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the YBSlantedCollectionViewLayout README section above
are relevant to that project's source code only.