Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sparrowcode/diffablekit
Wrapper of Apple Diffable Data Source. Including side bar and ready-use models.
https://github.com/sparrowcode/diffablekit
apple-diffable-api diff diffable diffable-api diffabledatasource ios14 side-bar side-bar-ios14 sidebar split-controller-side-bar splitcontroller swift uicollectionview uicollectionviewdiffabledatasource uitableview uitableviewdiffabledatasource xcode
Last synced: about 1 month ago
JSON representation
Wrapper of Apple Diffable Data Source. Including side bar and ready-use models.
- Host: GitHub
- URL: https://github.com/sparrowcode/diffablekit
- Owner: sparrowcode
- License: mit
- Created: 2020-06-17T23:19:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T21:04:51.000Z (10 months ago)
- Last Synced: 2024-09-23T22:02:22.856Z (3 months ago)
- Topics: apple-diffable-api, diff, diffable, diffable-api, diffabledatasource, ios14, side-bar, side-bar-ios14, sidebar, split-controller-side-bar, splitcontroller, swift, uicollectionview, uicollectionviewdiffabledatasource, uitableview, uitableviewdiffabledatasource, xcode
- Language: Swift
- Homepage: https://sparrowcode.io/frameworks
- Size: 6.44 MB
- Stars: 128
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# SPDiffable
Apple's diffable API requerid models for each object type. If you want use it in many place, you pass many time to implemenet and get over duplicates codes. This project help you do it elegant with shared models and special cell providers for one-usage models.
## Navigate
- [Installation](#installation)
- [Swift Package Manager](#swift-package-manager)
- [CocoaPods](#cocoapods)
- [Manually](#manually)
- [Russian Community](#russian-community)## Installation
Ready for use on iOS and tvOS 13+.
### Swift Package Manager
The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
Once you have your Swift package set up, adding as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
```swift
dependencies: [
.package(url: "https://github.com/ivanvorobei/SPDiffable", .upToNextMajor(from: "2.2.0"))
]
```### CocoaPods:
[CocoaPods](https://cocoapods.org) is a dependency manager. For usage and installation instructions, visit their website. To integrate using CocoaPods, specify it in your `Podfile`:
```ruby
pod 'SPDiffable'
```### Manually
If you prefer not to use any of dependency managers, you can integrate manually. Put `Sources/SPDiffable` folder in your Xcode project. Make sure to enable `Copy items if needed` and `Create groups`.
## Russian Community
Я веду [телеграм-канал](https://sparrowcode.io/telegram), там публикую новости и туториалы.
С проблемой помогут [в чате](https://sparrowcode.io/telegram/chat).Видео-туториалы выклыдываю на [YouTube](https://ivanvorobei.io/youtube):
[![Tutorials on YouTube](https://cdn.ivanvorobei.io/github/readme/youtube-preview.jpg)](https://ivanvorobei.io/youtube)