Swift Package Index

Source

https://github.com/blackjacx/Source.git

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


Compatibility

  • 1.7.2 and develop
    5.3
    5.2
    5.1
    5.0
    4.2
  • 1.7.2 and develop
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS

Source

Twitter

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.