Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Dec 19 21:32:09 -0800 2008 | |
| |
.gitmodules | Tue Jan 27 17:11:44 -0800 2009 | |
| |
AddDogView.xib | Tue Oct 14 12:39:17 -0700 2008 | |
| |
Classes/ | ||
| |
EditDogViewController.xib | Tue Oct 14 12:34:51 -0700 2008 | |
| |
Info.plist | Thu Aug 21 15:27:41 -0700 2008 | |
| |
LICENSE | Tue Nov 04 05:53:20 -0800 2008 | |
| |
MainWindow.xib | ||
| |
README.textile | Tue Jan 27 08:14:57 -0800 2009 | |
| |
Unit Tests-Info.plist | Wed Feb 25 13:39:00 -0800 2009 | |
| |
ViewDogController.xib | Tue Oct 14 12:34:51 -0700 2008 | |
| |
google_toolbar/ | Wed Oct 15 14:55:52 -0700 2008 | |
| |
main.m | Thu Aug 21 15:27:41 -0700 2008 | |
| |
objective_resource.xcodeproj/ | Thu Jan 29 12:49:19 -0800 2009 | |
| |
objective_resource_Prefix.pch | Mon Jan 26 06:45:49 -0800 2009 | |
| |
package_zip.sh | Tue Feb 03 14:19:36 -0800 2009 | |
| |
sample_rails_app/ | Thu Jan 29 12:49:19 -0800 2009 |
Overview
ObjectiveResource is a port of Rails’ ActiveResource framework to Objective-C.
The primary purpose of this project is to quickly and easily connect
iPhone applications with servers running Rails.
This project relies on ObjectiveSupport, which aims to provide some popular
Rubyisms to Objective-C. If you checkout this project using git, you can
pull down ObjectiveSupport by doing a “git submodule init” followed by
a “git submodule update”.
Getting Started
Sample Code
This project comes bundled with a sample iPhone application and a sample
Rails application. To see how everything works together you can open
up the .xcodeproj and fire up a rails server in sample_rails_app.
Integrating with your project
- Download (clone) the objectiveresource project
- If you do a git clone, you will need to follow it up with “git submodule init” and “git submodule update”
- open the .xcodeproj in XCode for both objectiveresource and your iPhone project
- drag the ObjectiveResource and ObjectSupport groups from the objectiveresource project onto your iPhone project, making
sure to check the “copy files” box.
Contributing
Running Tests
Unit testing makes use of the SenTest work-alike from Google Toolbox for Mac.
To run the tests, select the “Unit Tests” target in XCode and Build and Run.
You will need to have Rails installed along with the populator and faker
gems, as the project uses a “Run Script” to setup a local Rails
server for testing.








