This project provides integration between the RestKit framework and Facebook's Three20 framework via the TTModel interface. TTModel is an Objective-C protocol used to coordinate activities between a data source and a Three20 table controller. The bindings within RKThree20 allow the use of a RestKit object loader to drive a Three20 table view.
- Add RestKit to your project. Installation instructions are available at: https://github.com/RestKit/RestKit/wiki/Installing-RestKit-in-Xcode-4.x
- Add Three20 to your project. Installation instructions are available at: http://three20.info/article/2010-10-06-Adding-Three20-To-Your-Project
- Check out the RKThree20 project into the same directory you have the Three20
and RestKit sources within your project. They should be siblings within the directory structure
of your project. For example, if you keep all of your libraries within a Libraries directory,
then you should have
Libraries/three20
,Libraries/RestKit
, andLibraries/RKThree20
. This is important because the project is configured with cross-project references that assume that RestKit and Three20 live at ../ in the containing project. - Drag RKThree20.xcodeproj onto your project to create a cross-project reference.
- Configure a target dependency on the RKThree20.a library so that it is built with your project.
- Link the RKThree20.a library into your project.
- Import the RKThree20 headers:
#import <RestKit/Three20/Three20.h>
Leveraging RKThree20 requires an understanding of both the RestKit and Three20 frameworks. The best available documentation for RKThree20 is available by reading the code of the RKDiscussionBoard example project.
This library was removed from the main RestKit codebase and is not supported. Patches and documentation are welcome, but the RestKit team is not actively developing the module.