Skip to content
Yet another Objective-C REST client library, inspired by Ruby's restclient gem.
Objective-C Ruby
Find file
Latest commit 9a8dffc Jun 18, 2013 @lukeredpath Update README.markdown
Added note about no longer supporting the project.
Failed to load latest commit information.
Classes Some enhancements to the GET streaming API. Dec 13, 2011
Documentation/website
Examples Update to use the v3 API. Aug 7, 2011
LRResty.xcodeproj Prefix category methods (closes #22) Dec 13, 2011
LRResty Recreated framework target Jun 9, 2011
Resources Created Framework target and created rake tasks for packaging the lib… Oct 4, 2010
Scripts Add logging to mimic, ignoring the logs. Jun 25, 2011
Tests
Vendor Initial implementation of fetching a specific user from GitHub. Aug 6, 2010
.gitattributes New project, initial commit. Started setting up a Ruby stub REST service Aug 3, 2010
.gitignore Add logging to mimic, ignoring the logs. Jun 25, 2011
.gitmodules Initial implementation of fetching a specific user from GitHub. Aug 6, 2010
Gemfile
Gemfile.lock Prefix category methods (closes #22) Dec 13, 2011
README.markdown Update README.markdown Jun 18, 2013
Rakefile Ensure Rubygems is available when running Rake. Closes #10 Dec 13, 2011
TODO Added a TODO list Aug 5, 2010
Tests_Prefix.pch Some modifications to get acceptance tests running in Xcode 4. Mar 11, 2011

README.markdown

NOTE: THIS PROJECT IS NO LONGER SUPPORTED

If you require an awesome HTTP framework for iOS or Mac, I highly recommend AFNetworking.

Resty, an Objective-C HTTP framework

Resty is a simple to use HTTP library for iOS and Mac apps, aimed at consuming RESTful web services and APIs.

It uses modern Objective-C language features like blocks to simple asynchronous requests without having to worry about threads, operation queues or repetitive delegation. It is inspired heavily by RestClient, a Ruby HTTP library.

For more information and documentation, check out the project website.

Getting started

Because Resty relies heavily on Objective-C blocks, it requires a minimum of iOS 4.0 or Mac 10.6.

Resty is distributed as a static framework for iOS and a regular framework Mac; this makes it easy to get up and running with Resty. Simply drop the framework into your project (like any other framework) and add the -ObjC and -all_load linker flags to your target. If your project builds, you should be ready to go.

To download Resty, you can either clone this project and build from scratch or grab one of the latest releases or nightly builds from the Github downloads tab.

For detailed information, check out the Resty website.

Using LRResty with ARC projects

A version of LRResty that uses Objective-C Automatic Reference Counting (ARC) is available in the arcified branch. This, like ARC, should be considered experimental. I aim to move over to ARC fully when it is production ready (but without the use of __weak to maintain iOS4 compatibility). I will aim to keep both branches in sync, feature-wise.

Something went wrong with that request. Please try again.