Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CocoaPods support #3

Merged
merged 1 commit into from Mar 5, 2016
Merged

Add CocoaPods support #3

merged 1 commit into from Mar 5, 2016

Conversation

dkhamsing
Copy link
Contributor

Hey, this pull request would close #2

  • create podspec
  • podspec passes lint
dkhamsing$ pod --version
0.39.0

dkhamsing$ pod spec lint PMJSON.podspec 

 -> PMJSON (0.9)

Analyzed 1 podspec.

PMJSON.podspec passed validation.
import PMJSON

let jsonString = "{\"id\":88}"
print(jsonString)
do {
    let json = try JSON.decode(jsonString)
    print (json)
} catch _ {
    print ("sad")
}             
{"id":88}
["id": JSON.Int64(88)]

To install using CocoaPods, add the following to your Podfile:

pod 'PMJSON', '~> 0.9'

@lilyball
Copy link
Collaborator

lilyball commented Mar 5, 2016

Hi @dkhamsing, I apologize for not seeing this earlier. Thanks for the pull request, I'll get it merged in shortly.

@lilyball lilyball merged commit de81bf6 into postmates:master Mar 5, 2016
lilyball pushed a commit that referenced this pull request Mar 5, 2016
@dkhamsing
Copy link
Contributor Author

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CocoaPods support
2 participants