DTTableViewManager alternatives and similar libraries
Based on the "Table View / Collection View" category.
Alternatively, view DTTableViewManager 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). -
YBSlantedCollectionViewLayout
A CollectionView Layout displaying a slanted cells -
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. -
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 -
ExpandableCell
✨ Awesome expandable, collapsible tableview cell for iOS written in Swift 5 -
CascadingTableDelegate
A no-nonsense way to write cleaner UITableViewDelegate and UITableViewDataSource in Swift. -
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 -
DataSources
💾 🔜📱 Type-safe data-driven CollectionView, TableView Framework. (We can also use ASCollectionNode) -
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. -
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. -
SwiftReorder
Easy UITableView drag-and-drop cell reordering -
CollapsibleTableSectionViewController
:tada: Swift library to support collapsible sections in a table view. -
ExpyTableView
Make your table view expandable just by implementing one method. -
TLLayoutTransitioning
Enhanced transitioning between UICollectionView layouts in iOS. -
ASCollectionView
Lightweight custom collection view inspired by Airbnb. -
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💥. -
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.
Appwrite - The open-source backend cloud platform
* 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 DTTableViewManager or a related project?
README
DTTableViewManager
Features
- [x] Powerful mapping system between data models and cells, headers and footers
- [x] Automatic datasource and interface synchronization.
- [x] Flexible Memory/CoreData/Realm/diffable datasource storage options
- [x] Powerful compile-time safe events system, that covers all of UITableView delegate methods
- [x] Views created from code, XIB, or storyboard, automatic registration and dequeue
- [x] Can be used with UITableViewController, or UIViewController with UITableView
- [x] Unified syntax with DTCollectionViewManager
- [x] [Complete documentation](Documentation)
- [x] API Reference
Requirements
- Xcode 12+
- iOS 11.0+ / tvOS 11.0+ / macCatalyst 13.0+
- Swift 5.3+
If you need Xcode 11 support or Swift 4...Swift 5.2, or iOS 8...iOS 10 support, you can use 7.x releases.
Installation
Swift Package Manager
Add package into Xcode Project settings -> Swift Packages
CocoaPods:
pod 'DTTableViewManager', '~> 8.0.0-beta.1'
Quick start
Let's say you have an array of Posts you want to display in UITableView. To quickly show them using DTTableViewManager, here's what you need to do:
- Create UITableViewCell subclass, let's say PostCell and adopt
ModelTransfer
protocol:
class PostCell : UITableViewCell, ModelTransfer {
func update(with model: Post) {
// Fill your cell with actual data
}
}
- In your view controller:
class PostsViewController: UITableViewController, DTTableViewManageable {
override func viewDidLoad() {
super.viewDidLoad()
// Register PostCell to be used with this controller's table view
manager.register(PostCell.self)
// Populate datasource
manager.memoryStorage.setItems(posts)
}
}
Make sure your UITableView outlet is wired to your class (or use UITableViewController subclass). If you have a PostCell.xib file, it will be automatically used for dequeueing PostCell.
- That's it! It's that easy!
Of course, cool stuff does not stop there, framework supports all datasource and delegate methods as closures, conditional mappings and much much more! Choose what interests you in the next section of readme.
Burning questions
Starter pack
- [Why do I need this library?](Documentation/Why.md)
- [How data models are mapped to cells?](Documentation/Mapping.md)
- [Can I use unsubclassed UITableViewCell or UITableViewHeaderFooterView?](Documentation/Mapping.md#without-modeltransfer)
- [How can I register views to dequeue from code/xib/storyboard?](Documentation/Registration.md)
- [How can I use the same cells differently in different places?](Documentation/Conditional%20mappings.md)
- [What datasource options do I have?(e.g. memory/CoreData/Realm/diffable datasources)](Documentation/Datasources.md)
- [How can I implement datasource/delegate methods from
UITableView
?](Documentation/Events.md)
Advanced
- [Can I implement delegate methods instead of using DTTableViewManager event closures?](Documentation/Events.md#can-i-still-use-delegate-methods)
- [How can I react to and customize UITableView updates?](Documentation/TableViewUpdater.md)
- [What can be additionally configured when using DTTableViewManager with UITableView?](Documentation/TableViewConfiguration)
- [What if something goes wrong?](Documentation/Anomalies.md)
Sample code and documentation
- [DTTableViewManager sample code](Example)
- [Documentation](Documentation)
- Sample code for Drag&Drop integration
Thanks
- Alexey Belkevich for providing initial implementation of CellFactory.
- Michael Fey for providing insight into NSFetchedResultsController updates done right.
- Nickolay Sheika for great feedback, that helped shaping 3.0 release and future direction of the library.
- Artem Antihevich for great discussions about Swift generics and type capturing.