Skip to content

Commit 661675e

Browse files
committed
Add Cocoapods support
1 parent 5d3f1e4 commit 661675e

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

BetterCodable.podspec

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'BetterCodable'
3+
s.version = '0.1.0'
4+
s.swift_versions = ['5.1']
5+
s.summary = 'Better Codable through Property Wrappers'
6+
s.homepage = 'https://github.com/marksands/BetterCodable'
7+
s.license = { :type => 'MIT', :file => 'LICENSE' }
8+
s.author = { 'Mark Sands' => 'http://marksands.github.io/' }
9+
s.social_media_url = 'https://twitter.com/marksands'
10+
11+
s.ios.deployment_target = '10.0'
12+
s.osx.deployment_target = '10.12'
13+
s.tvos.deployment_target = '10.0'
14+
s.watchos.deployment_target = '3.0'
15+
16+
s.source = { :git => 'https://github.com/marksands/BetterCodable.git', :tag => s.version.to_s }
17+
s.source_files = 'Sources/**/*.swift'
18+
s.frameworks = 'Foundation'
19+
end

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,14 @@ let result = try JSONDecoder().decode(Response.self, from: json)
266266

267267
## Installation
268268

269-
Swift Package Manager
269+
### CocoaPods
270270

271-
### Attribution
271+
```ruby
272+
pod 'BetterCodable', '~> 0.1.0'
273+
```
274+
275+
### Swift Package Manager
276+
277+
## Attribution
272278

273279
This project is licensed under MIT. If you find these useful, please tell your boss where you found them.

0 commit comments

Comments
 (0)