diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..6e63660 --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +5.0 \ No newline at end of file diff --git a/Identity.podspec b/Identity.podspec new file mode 100644 index 0000000..1657141 --- /dev/null +++ b/Identity.podspec @@ -0,0 +1,15 @@ +Pod::Spec.new do |spec| + spec.name = "Identity" + spec.version = "0.3.0" + spec.summary = "Type-safe identifiers in Swift." + spec.description = "A small library that makes it easy to create type-safe identifiers in Swift" + spec.homepage = "https://github.com/JohnSundell/Identity" + spec.license = { :type => "MIT", :file => "LICENSE" } + spec.author = { "John Sundell" => "john@sundell.co" } + spec.source = { :git => "https://github.com/JohnSundell/Identity.git", :tag => "#{spec.version}" } + spec.source_files = "Sources/Identity/*.swift" + spec.ios.deployment_target = "9.0" + spec.osx.deployment_target = "10.9" + spec.watchos.deployment_target = "3.0" + spec.tvos.deployment_target = "9.0" +end \ No newline at end of file diff --git a/README.md b/README.md index 84d9bd1..9764e46 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,11 @@ But if you wish to use a dependency manager, you can use the [Swift Package Mana *For more information, see [the Swift Package Manager documentation](https://github.com/apple/swift-package-manager/tree/master/Documentation).* +You can also use [CocoaPods](https://cocoapods.org) by adding the following line to your `Podfile`: + +```ruby +pod "Identity" +``` ## Contributions & support Identity is developed completely in the open, and your contributions are more than welcome.