Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
setup:
bundle install

lint: setup
bundle exec pod lib lint --allow-warnings

release: lint
bundle exec pod trunk push
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,14 @@ As with the `UserDefault.X` APIs, the property wrapper supports primitive, `RawR

# Installation

## CocoaPods

[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`:

```ruby
pod 'swift-user-defaults'
```

## Swift Package Manager

Add the following to your **Package.swift**
Expand Down
5 changes: 3 additions & 2 deletions SwiftUserDefaults.podspec → swift-user-defaults.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Pod::Spec.new do |s|
s.name = "SwiftUserDefaults"
s.version = "0.0.1"
s.name = "swift-user-defaults"
s.module_name = "SwiftUserDefaults"
s.version = "0.0.2"
s.summary = "A series of Swift friendly utilities for Foundation's UserDefaults class"
s.homepage = "https://github.com/cookpad/swift-user-defaults"
s.license = { :type => "MIT", :file => "LICENSE.txt" }
Expand Down