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 / Use
/learn @Blackjacx/SourceREADME
<a href="https://github.com/Blackjacx/Source/actions?query=workflow%3ACI"><img alt="CI status" src="https://github.com/blackjacx/source/workflows/CI/badge.svg" /></a>
<a href="https://swift.org/package-manager/"><img alt="Swift Package Manager Compatible" src="https://img.shields.io/badge/SPM-compatible-brightgreen.svg" /></a>
<img alt="Github Current Release" src="https://img.shields.io/github/release/blackjacx/Source.svg" />
<img alt="Platforms" src="https://img.shields.io/cocoapods/p/Source.svg" />
<img alt="Xcode 15" src="https://img.shields.io/badge/Xcode-15.0%2B-blue.svg" />
<img alt="iOS 14.0+" src="https://img.shields.io/badge/iOS-14.0%2B-blue.svg" />
<img alt="Swift 5.10" src="https://img.shields.io/badge/Swift-5.10%2B-orange.svg" />
<img alt="Github Repo Size" src="https://img.shields.io/github/repo-size/blackjacx/Source.svg" />
<img alt="Github Code Size" src="https://img.shields.io/github/languages/code-size/blackjacx/Source.svg" />
<img alt="Github Closed PR's" src="https://img.shields.io/github/issues-pr-closed/blackjacx/Source.svg" />
<a href="https://github.com/Blackjacx/Source/blob/develop/LICENSE?raw=true"><img alt="License" src="https://img.shields.io/cocoapods/l/Source.svg?style=flat" /></a>
<a href="https://codebeat.co/projects/github-com-blackjacx-source-develop"><img alt="codebeat badge" src="https://codebeat.co/badges/c74826a3-8f8b-41da-8daf-2bdfecc2163e" /></a>
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
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
Contributors
Thanks to all of you who are part of this:
<a href="https://github.com/blackjacx/Source/graphs/contributors"> <img src="https://contrib.rocks/image?repo=blackjacx/Source" /> </a>License
Source is available under the MIT license. See the LICENSE file for more info.
Related Skills
openhue
340.2kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
340.2kElevenLabs text-to-speech with mac-style say UX.
weather
340.2kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
