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

Swift Package Manager support #24

Merged
merged 4 commits into from
Feb 18, 2016
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
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