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

Commit eb6e69e

Browse files
authored
Merge pull request #45 from darthpelo/update_podspec
Update podspec and README.md with install instructions
2 parents 313da46 + 8c76875 commit eb6e69e

2 files changed

Lines changed: 17 additions & 4 deletions

File tree

Codemine.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "Codemine"
19-
s.version = "0.1.0"
19+
s.version = "1.0.1"
2020
s.summary = "A gold mine of code, filled with neat utility functions."
2121

2222
# This description is used to generate tags and improve search results.
@@ -133,4 +133,4 @@ Pod::Spec.new do |s|
133133
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
134134
# s.dependency "JSONKit", "~> 1.4"
135135

136-
end
136+
end

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ Codemine is a collection of extensions containing useful functions and syntactic
2020

2121
## 📦 Installation
2222

23+
### CocoaPods
24+
25+
If you are using CocoaPods add this text to your Podfile and run `pod install`.
26+
~~~
27+
pod 'Codemine', '~>1.0.0'
28+
29+
# Swift 2.3
30+
pod 'Codemine', '~>0.2.5'
31+
32+
# Swift 2.2
33+
pod 'Codemine', '~>0.2.2'
34+
~~~
35+
2336
### Carthage
2437
~~~
2538
github "nodes-ios/Codemine" ~> 1.0
@@ -105,7 +118,7 @@ This method appends the `size` multiplied by `UIScreen.main.scale` to an asset u
105118
```swift
106119
let camelCaseStr1 = "userId"
107120
let camelCaseStr2 = "isUserActiveMemberOfCurrentGroup"
108-
121+
109122
print(camelCaseStr1.camelCaseToUnderscore()) // "user_id"
110123
print(camelCaseStr2.camelCaseToUnderscore()) // "is_user_active_member_of_current_group"
111124
```
@@ -164,7 +177,7 @@ DispatchQueue.main.asyncAfter(deadline: 5) { /* ... */ }
164177
```
165178

166179
## 👥 Credits
167-
Made with ❤️ at [Nodes](http://nodesagency.com).
180+
Made with ❤️ at [Nodes](http://nodesagency.com).
168181

169182
`Application` and `Then` were borrowed from Hyper's [Sugar](https://github.com/hyperoslo/Sugar) 🙈.
170183

0 commit comments

Comments
 (0)