Skip to content

Commit 02a53b1

Browse files
authored
Merge pull request #6 from m4riusz/cocoapods
Cocoapods support
2 parents 8f0eff8 + f1dd531 commit 02a53b1

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

CombineDataSources.podspec

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'CombineDataSources'
3+
s.version = '0.2.4'
4+
s.summary = 'CombineDataSources provides custom Combine subscribers for collection/table view'
5+
s.description = <<-DESC
6+
CombineDataSources provides custom Combine subscribers that act as table and collection view controllers and bind a stream of element collections to table or collection sections with cells.
7+
DESC
8+
s.homepage = 'https://github.com/CombineCommunity/CombineDataSources'
9+
s.license = 'MIT'
10+
s.author = { 'Marin Todorov' => 'your emal here :)' }
11+
s.ios.deployment_target = '13.0'
12+
s.source = { :git => 'https://github.com/CombineCommunity/CombineDataSources.git', :tag => s.version.to_s }
13+
s.source_files = 'Sources/**/*.swift'
14+
s.framework = ['Combine']
15+
s.swift_version = '5.0'
16+
end

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
2.1 [Swift Package Manager](#swift-package-manager)
2222

23+
2.2 [Cocoapods](#cocoapods)
24+
2325
3. [**License**](#license)
2426

2527
4. [**Credits**](#credits)
@@ -156,7 +158,7 @@ let tableController = TableViewBatchesController<String>(
156158
- [ ] cover every API with tests
157159
- [ ] make the default batches view controller neater
158160
- [ ] add AppKit version of the data sources
159-
- [ ] support Cocoapods
161+
- [x] support Cocoapods
160162

161163
## Installation
162164

@@ -168,6 +170,13 @@ Add the following dependency to your **Package.swift** file:
168170
.package(url: "https://github.com/combineopensource/CombineDataSources, from: "0.2")
169171
```
170172
173+
### Cocoapods
174+
Add the following dependency to your **Podfile**:
175+
176+
```swift
177+
pod 'CombineDataSources'
178+
```
179+
171180
## License
172181
173182
CombineOpenSource is available under the MIT license. See the LICENSE file for more info.

0 commit comments

Comments
 (0)