Skip to content

Instantly share code, notes, and snippets.

@j8
Created March 15, 2015 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j8/99c27e137a9d1e92a2e3 to your computer and use it in GitHub Desktop.
Save j8/99c27e137a9d1e92a2e3 to your computer and use it in GitHub Desktop.
Install RestKIT IOS
1
$ sudo gem install cocoapods
And afterwards:
1
$ pod setup
Once Cocoapods is installed, navigate to your project library (still in the terminal) and enter this line:
1
$ pod init
This will integrate Cocoapods into your project, and create, among other things, a file called Podfile which will be used to manage your project’s dependencies.
For more information about Cocoapods and the installation process, you can refer to the Cocoapods homepage, or this tutorial.
Now that we have everything ready, we can get started!
RestKit Installation
In this example, we will use RestKit v0.23.3. It is recommended to check their website from time to time to see if there is a new stable release available.
Open the project’s Podfile with your favorite text editor and add the following line to the bottom of it:
1
pod 'RestKit', '~> 0.23.3'
Then go to the terminal, navigate to the project’s root directory and enter the following line:
1
$ pod install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment