/Source

Tired of implementing the data sources over and over again? Want to use a lightweight solution that does not mess up your view controllers? Then this is for you! The generic data source implementation for all your view controllers, that supports UITableView, UICollectionView and NSFetchedResultsController

Primary LanguageSwiftMIT LicenseMIT

Twitter Follow CI status Swift Package Manager Compatible Github Current Release Platforms Xcode 15 iOS 14.0+ Swift 5.10 Github Repo Size Github Code Size Github Closed PR's License codebeat badge Donate

Source

Tired of implementing the data sources over and over again? Want to use a lightweight solution that does not mess up your view controllers? Then this is for you! The generic data source implementation for all your view controllers, that supports UITableView, UICollectionView and NSFetchedResultsController.

Install

In Xcode open your target list and select your project. Click the tab Swift Packages and there the small + icon. Enter the URL of this repository, select the version you want to install - usually the preset is okay - and confirm.

Simply add the following line to your Podfile:

pod "Source"

Example

iOS

The repo includes an example project. To run it, just type pod try Source in your console and it will be downloaded and opened for you.

Contribution

  • If you found a bug, please open an issue.
  • If you have a feature request, please open an issue.
  • If you want to contribute, please submit a pull request.

Author

Stefan Herold • 🐦 @Blackjacxxx

Contributors

Thanks to all of you who are part of this:

License

Source is available under the MIT license. See the LICENSE file for more info.