Skip to content

Commit aab5830

Browse files
authored
Rename podspec to swift-user-defaults, add makefile and update readme (#4)
1 parent dffb57c commit aab5830

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
setup:
2+
bundle install
3+
4+
lint: setup
5+
bundle exec pod lib lint --allow-warnings
6+
7+
release: lint
8+
bundle exec pod trunk push

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,14 @@ As with the `UserDefault.X` APIs, the property wrapper supports primitive, `RawR
291291

292292
# Installation
293293

294+
## CocoaPods
295+
296+
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate SwiftUserDefaults into your Xcode project using CocoaPods, specify it in your `Podfile`:
297+
298+
```ruby
299+
pod 'swift-user-defaults'
300+
```
301+
294302
## Swift Package Manager
295303

296304
Add the following to your **Package.swift**

SwiftUserDefaults.podspec renamed to swift-user-defaults.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Pod::Spec.new do |s|
2-
s.name = "SwiftUserDefaults"
3-
s.version = "0.0.1"
2+
s.name = "swift-user-defaults"
3+
s.module_name = "SwiftUserDefaults"
4+
s.version = "0.0.2"
45
s.summary = "A series of Swift friendly utilities for Foundation's UserDefaults class"
56
s.homepage = "https://github.com/cookpad/swift-user-defaults"
67
s.license = { :type => "MIT", :file => "LICENSE.txt" }

0 commit comments

Comments
 (0)