JSON Literal for Swift.
We recommend you to use git submodule.
$ git submodule add https://github.com/devxoul/JSONLiteral.git
$ git submodule update --init --remote
Then add JSONLiteral.swift
file into your project in Xcode.
Why not CocoaPods or Carthage? CocoaPods and Carthage uses dynamic framework. When compiled into framework, only public extensions can be used. But Swift doesn't support public extension.