RHPreviewCell alternatives and similar libraries
Based on the "Table View / Collection View" category.
Alternatively, view RHPreviewCell 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). -
HGPlaceholders
Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project -
YBSlantedCollectionViewLayout
A CollectionView Layout displaying a slanted cells -
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. -
TimelineTableViewCell
Simple timeline view implemented by UITableViewCell -
CenteredCollectionView
A lightweight UICollectionViewLayout that 'pages' and centers its cells ๐ก written in Swift -
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 -
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 -
DataSources
๐พ ๐๐ฑ Type-safe data-driven CollectionView, TableView Framework. (We can also use ASCollectionNode) -
DTTableViewManager
Protocol-oriented UITableView management, powered by generics and associated types. -
TableViewDragger
A cells of UITableView can be rearranged by drag and drop. -
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. -
CollapsibleTableSectionViewController
:tada: Swift library to support collapsible sections in a table view. -
TLLayoutTransitioning
Enhanced transitioning between UICollectionView layouts in iOS. -
ExpyTableView
Make your table view expandable just by implementing one method. -
PagingView
Infinite paging, Smart auto layout, Interface of similar to UIKit. -
ASCollectionView
Lightweight custom collection view inspired by Airbnb. -
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. -
AZTableViewController
Elegant and easy way to integrate pagination with dummy views -
EditDistance
Incremental update tool to UITableView and UICollectionView -
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.
Appwrite - The Open Source Firebase alternative introduces iOS support
* 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 RHPreviewCell or a related project?
README
[](./ReadmeAssets/RHPreviewCellHeadLogo.gif)
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๐ฅ.
Play with it ๐
Installation
You can install RHPreviewCell library using Cocoapods:
pod 'RHPreviewCell'
or you can simply copy RHPreviewCellSource
folder to your project.
Usage
To fully integrate RHPreviewCell with your Table View you just need to use RHPreviewCell like normal UITableViewCell in terms of your TableView data source 'cellForRowAtIndexPath' method.
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
// Fetching already registered RHPreviewTableViewCell
let cell = tableView.dequeueReusableCellWithIdentifier(reuseCellIdentifier) as! RHPreviewTableViewCell
// Delegate using which, tiles will talk to your class
cell.delegate = self
// Data source for feed small tiles ๐ผ
cell.dataSource = self
return cell
}
๐ก Important thing is that your View Controller needs to comform to RHPreviewCellDataSource
and RHPreviewCellDelegate
protocols. In that way you will be able to provide all neccesary data for RHPreviewTalveViewCell
tiles.
RHPreviewCellDataSource
func previewCellNumberOfTiles(cell: RHPreviewTableViewCell) -> Int
func previewCell(cell: RHPreviewTableViewCell, tileForIndex: Int) -> RHPreviewTileView
RHPreviewCellDelegate
func previewCell(cell: RHPreviewTableViewCell, didSelectTileAtIndex indexValue: RHTappedTileIndexValue)
And thats it! ๐ฅ You have already integrete Library with your Table View ๐
Implementation hint from me
[Q] How may look like tiles communiacation with my classโ๐ค
As I said using RHPreviewCellDelegate
. I will show you how to handle it for particular cell:
func previewCell(cell: RHPreviewTableViewCell, didSelectTileAtIndex indexValue: RHTappedTileIndexValue) {
let cellIndex = tableView.indexPathForCell(cell)!.row
switch indexValue {
case .TileTapped(let index):
print("๐ฒ \(index) has been selected")
case .FingerReleased:
print("๐๐ฝ Finger has been released (non of tiles has been tapped)")
}
}
... as you can see delegate method as a argument takes RHTappedTileIndexValue
, yup... it is swift enum using which you will gather information about tapped tile (.TileTapped(let index)
) or even whether user released his finger out of tiles area (.FingerReleased
).
Swift support
Library ver | Swift ver |
---|---|
1.0.1 | 2.2 |
1.0.2 | 2.3 |
1.0.3 | 3.0 |
1.1.0 | 4.0 |
Check the Demo project
Please check out the demo project, you can see there how Library has been implemented in details.
*Note that all licence references and agreements mentioned in the RHPreviewCell README section above
are relevant to that project's source code only.