Swiftpack.co - Package - Blackjacx/Source

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Blackjacx/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

Source

Twitter CI status Swift Package Manager Compatible Github Current Release Platforms Xcode 12.4+ iOS 11.0+ Swift 5.3+ Github Repo Size Github Code Size Github Closed PR's License codebeat badge Donate

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

Swift Package Manager

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.

CocoaPods

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

License

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