Protocol-oriented, type-safe data source objects that keep your view controllers light
This library reduces the boilerplate code regarding the
NSFetchedResultsController data source objects, as well as the
NSFetchedResultsControllerDelegate object. It helps keep view controllers light, while focusing on type-safety, SOLID design principles, and easy interoperability with Cocoa. Further, it brings a more focused and data-driven perspective to these data sources. If you want to change your view then you change your data and its structure, without needing to update any data source or delegate protocol methods.
- Xcode 10+
- Swift 4.2+
- iOS 11.0+
- tvOS 11.0+
use_frameworks! # For latest release in cocoapods pod 'JSQDataSourcesKit' # Feeling adventurous? Get the latest on develop pod 'JSQDataSourcesKit', :git => 'https://github.com/jessesquires/JSQDataSourcesKit.git', :branch => 'develop'
$ open index.html -a Safari
Please follow these contribution guidelines.
Created and maintained by @jesse_squires
- Inspired by andymatuschak / gist f1e1691fa1a327468f8e
- Inspired by ashfurrow / UICollectionView-NSFetchedResultsController
JSQDataSourcesKit is released under an MIT License. See
LICENSE for details.
Copyright © 2015-present Jesse Squires.
Please provide attribution, it is greatly appreciated.