Skip to content

Commit

Permalink
Support CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored and dezinezync committed Dec 17, 2022
1 parent 0839124 commit 4271cb2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
16 changes: 16 additions & 0 deletions Defaults.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Pod::Spec.new do |s|
s.name = 'Defaults'
s.version = '0.2.1'
s.license = { :type => 'MIT', :file => 'license' }
s.homepage = 'https://github.com/sindresorhus/Defaults'
s.social_media_url = 'https://twitter.com/sindresorhus'
s.authors = { 'Sindre Sorhus' => '[email protected]' }
s.summary = 'Swifty and modern UserDefaults'
s.source = { :git => 'https://github.com/sindresorhus/Defaults.git', :tag => "v#{s.version}" }
s.source_files = 'Sources/*.swift'
s.swift_version = '4.1'
s.osx.deployment_target = '10.12'
s.ios.deployment_target = '10.0'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'
end
10 changes: 8 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,24 @@

## Install

With [SPM](https://swift.org/package-manager/):
#### SPM

```swift
.package(url: "https://github.com/sindresorhus/Defaults", from: "0.2.0")
```

With [Carthage](https://github.com/Carthage/Carthage):
#### Carthage

```
github "sindresorhus/Defaults"
```

#### CocoaPods

```
pod 'Defaults'
```

<a href="https://www.patreon.com/sindresorhus">
<img src="https://c5.patreon.com/external/logo/[email protected]" width="160">
</a>
Expand Down

0 comments on commit 4271cb2

Please sign in to comment.