From 0d30e1ed063335aa1916be33cbf39f8f1dddbad8 Mon Sep 17 00:00:00 2001 From: Marius Constantinescu Date: Thu, 18 Feb 2016 16:45:24 +0100 Subject: [PATCH 1/4] Added simlinks in Sources --- Package.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..df1c83f --- /dev/null +++ b/Package.swift @@ -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" +) \ No newline at end of file From ef8943daedb031c2bd43634f840b63b217ad4606 Mon Sep 17 00:00:00 2001 From: Marius Constantinescu Date: Thu, 18 Feb 2016 16:46:26 +0100 Subject: [PATCH 2/4] Added the forgotten Sources folder --- Sources/Application.swift | 1 + Sources/CGPoint+Utilities.swift | 1 + Sources/CGRect+Utilities.swift | 1 + Sources/GrandCentralDispatch.swift | 1 + Sources/NSError+Utilities.swift | 1 + Sources/NSURL+AssetSize.swift | 1 + Sources/NibInstantiable.swift | 1 + Sources/Operators.swift | 1 + Sources/String+CaseConverter.swift | 1 + Sources/String+EmailValidation.swift | 1 + Sources/String+Range.swift | 1 + Sources/Then.swift | 1 + Sources/UIColor+Hex.swift | 1 + Sources/UIImage+Utilities.swift | 1 + Sources/UIView+Utilities.swift | 1 + 15 files changed, 15 insertions(+) create mode 120000 Sources/Application.swift create mode 120000 Sources/CGPoint+Utilities.swift create mode 120000 Sources/CGRect+Utilities.swift create mode 120000 Sources/GrandCentralDispatch.swift create mode 120000 Sources/NSError+Utilities.swift create mode 120000 Sources/NSURL+AssetSize.swift create mode 120000 Sources/NibInstantiable.swift create mode 120000 Sources/Operators.swift create mode 120000 Sources/String+CaseConverter.swift create mode 120000 Sources/String+EmailValidation.swift create mode 120000 Sources/String+Range.swift create mode 120000 Sources/Then.swift create mode 120000 Sources/UIColor+Hex.swift create mode 120000 Sources/UIImage+Utilities.swift create mode 120000 Sources/UIView+Utilities.swift diff --git a/Sources/Application.swift b/Sources/Application.swift new file mode 120000 index 0000000..ac47df0 --- /dev/null +++ b/Sources/Application.swift @@ -0,0 +1 @@ +../Codemine/Application.swift \ No newline at end of file diff --git a/Sources/CGPoint+Utilities.swift b/Sources/CGPoint+Utilities.swift new file mode 120000 index 0000000..9c6a6e1 --- /dev/null +++ b/Sources/CGPoint+Utilities.swift @@ -0,0 +1 @@ +../Codemine/Extensions/CGPoint+Utilities.swift \ No newline at end of file diff --git a/Sources/CGRect+Utilities.swift b/Sources/CGRect+Utilities.swift new file mode 120000 index 0000000..bbefb48 --- /dev/null +++ b/Sources/CGRect+Utilities.swift @@ -0,0 +1 @@ +../Codemine/Extensions/CGRect+Utilities.swift \ No newline at end of file diff --git a/Sources/GrandCentralDispatch.swift b/Sources/GrandCentralDispatch.swift new file mode 120000 index 0000000..b787e44 --- /dev/null +++ b/Sources/GrandCentralDispatch.swift @@ -0,0 +1 @@ +../Codemine/GrandCentralDispatch.swift \ No newline at end of file diff --git a/Sources/NSError+Utilities.swift b/Sources/NSError+Utilities.swift new file mode 120000 index 0000000..509bdec --- /dev/null +++ b/Sources/NSError+Utilities.swift @@ -0,0 +1 @@ +../Codemine/Extensions/NSError+Utilities.swift \ No newline at end of file diff --git a/Sources/NSURL+AssetSize.swift b/Sources/NSURL+AssetSize.swift new file mode 120000 index 0000000..2dad21a --- /dev/null +++ b/Sources/NSURL+AssetSize.swift @@ -0,0 +1 @@ +../Codemine/Extensions/NSURL+AssetSize.swift \ No newline at end of file diff --git a/Sources/NibInstantiable.swift b/Sources/NibInstantiable.swift new file mode 120000 index 0000000..507a634 --- /dev/null +++ b/Sources/NibInstantiable.swift @@ -0,0 +1 @@ +../Codemine/Protocols/NibInstantiable.swift \ No newline at end of file diff --git a/Sources/Operators.swift b/Sources/Operators.swift new file mode 120000 index 0000000..7433b9a --- /dev/null +++ b/Sources/Operators.swift @@ -0,0 +1 @@ +../Codemine/Operators.swift \ No newline at end of file diff --git a/Sources/String+CaseConverter.swift b/Sources/String+CaseConverter.swift new file mode 120000 index 0000000..8384d05 --- /dev/null +++ b/Sources/String+CaseConverter.swift @@ -0,0 +1 @@ +../Codemine/Extensions/String+CaseConverter.swift \ No newline at end of file diff --git a/Sources/String+EmailValidation.swift b/Sources/String+EmailValidation.swift new file mode 120000 index 0000000..d9c0c1b --- /dev/null +++ b/Sources/String+EmailValidation.swift @@ -0,0 +1 @@ +../Codemine/Extensions/String+EmailValidation.swift \ No newline at end of file diff --git a/Sources/String+Range.swift b/Sources/String+Range.swift new file mode 120000 index 0000000..0ff115e --- /dev/null +++ b/Sources/String+Range.swift @@ -0,0 +1 @@ +../Codemine/Extensions/String+Range.swift \ No newline at end of file diff --git a/Sources/Then.swift b/Sources/Then.swift new file mode 120000 index 0000000..2d0f30a --- /dev/null +++ b/Sources/Then.swift @@ -0,0 +1 @@ +../Codemine/Then.swift \ No newline at end of file diff --git a/Sources/UIColor+Hex.swift b/Sources/UIColor+Hex.swift new file mode 120000 index 0000000..bab7c13 --- /dev/null +++ b/Sources/UIColor+Hex.swift @@ -0,0 +1 @@ +../Codemine/Extensions/UIColor+Hex.swift \ No newline at end of file diff --git a/Sources/UIImage+Utilities.swift b/Sources/UIImage+Utilities.swift new file mode 120000 index 0000000..aea3fa4 --- /dev/null +++ b/Sources/UIImage+Utilities.swift @@ -0,0 +1 @@ +../Codemine/Extensions/UIImage+Utilities.swift \ No newline at end of file diff --git a/Sources/UIView+Utilities.swift b/Sources/UIView+Utilities.swift new file mode 120000 index 0000000..35662a6 --- /dev/null +++ b/Sources/UIView+Utilities.swift @@ -0,0 +1 @@ +../Codemine/Extensions/UIView+Utilities.swift \ No newline at end of file From a973aad744966de4b07c7b011f5f4273e1c17170 Mon Sep 17 00:00:00 2001 From: Marius Constantinescu Date: Thu, 18 Feb 2016 16:53:40 +0100 Subject: [PATCH 3/4] updated readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index fa9ec51..ec175db 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,23 @@ Codemine is a collection of extensions containing useful functions and syntactic github "nodes-ios/Codemine" ~~~ +### Swit Package Manager +To use KeyboardHelper 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 From 73702e06fffc2d1cb47cb257f41ab0fa69822629 Mon Sep 17 00:00:00 2001 From: Marius Constantinescu Date: Thu, 18 Feb 2016 16:54:12 +0100 Subject: [PATCH 4/4] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec175db..fd1ac2a 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ github "nodes-ios/Codemine" ~~~ ### Swit Package Manager -To use KeyboardHelper as a [Swift Package Manager](https://swift.org/package-manager/) package just add the following to your `Package.swift` file. +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