Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #24 from nodes-ios/SPM-support
Browse files Browse the repository at this point in the history
Swift Package Manager support
  • Loading branch information
NickSkull committed Feb 18, 2016
2 parents 608e7c4 + 73702e0 commit 7470136
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// Package.swift
// Codemine
//
// Created by Marius Constantinescu on 18/02/16.
// Copyright © 2016 Nodes. All rights reserved.
//

import Foundation

import PackageDescription
let package = Package(
name: "Codemine"
)
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ Codemine is a collection of extensions containing useful functions and syntactic
github "nodes-ios/Codemine"
~~~

### Swit Package Manager
To use Codemine as a [Swift Package Manager](https://swift.org/package-manager/) package just add the following to your `Package.swift` file.

~~~swift
import PackageDescription

let package = Package(
name: "YourPackage",
dependencies: [
.Package(url: "https://github.com/nodes-ios/Codemine.git", majorVersion: 0)
]
)
~~~

**NOTE:** This doesn't currently work as SPM doens't support iOS, but once it will we will already be supporting it! :)


## 💻 Usage

### Application
Expand Down
1 change: 1 addition & 0 deletions Sources/Application.swift
1 change: 1 addition & 0 deletions Sources/CGPoint+Utilities.swift
1 change: 1 addition & 0 deletions Sources/CGRect+Utilities.swift
1 change: 1 addition & 0 deletions Sources/GrandCentralDispatch.swift
1 change: 1 addition & 0 deletions Sources/NSError+Utilities.swift
1 change: 1 addition & 0 deletions Sources/NSURL+AssetSize.swift
1 change: 1 addition & 0 deletions Sources/NibInstantiable.swift
1 change: 1 addition & 0 deletions Sources/Operators.swift
1 change: 1 addition & 0 deletions Sources/String+CaseConverter.swift
1 change: 1 addition & 0 deletions Sources/String+EmailValidation.swift
1 change: 1 addition & 0 deletions Sources/String+Range.swift
1 change: 1 addition & 0 deletions Sources/Then.swift
1 change: 1 addition & 0 deletions Sources/UIColor+Hex.swift
1 change: 1 addition & 0 deletions Sources/UIImage+Utilities.swift
1 change: 1 addition & 0 deletions Sources/UIView+Utilities.swift

0 comments on commit 7470136

Please sign in to comment.