public
Description: A port of Ruby on Rails' ActiveResource to Objective-C (and specifically the iPhone)
Homepage: http://iphoneonrails.com
Clone URL: git://github.com/yfactorial/objectiveresource.git
commit  7573de144e550f23f0a6b0a1b648653581bb53b6
tree    a2e295b7b892482f2e7bb0e1d2d3771fa79fe5b0
parent  949e4dc87d9e60ad1265465fa0d67874301c0786
name age message
file .gitignore Fri Dec 19 21:32:09 -0800 2008 Added *.mode2v3 to .gitignore (more xcode noise... [Elfred Pagan]
file .gitmodules Tue Jan 27 17:11:44 -0800 2009 Using public clone URL for objectivesupport sub... [rwdaigle]
file AddDogView.xib Tue Oct 14 12:39:17 -0700 2008 sync (cherry picked from commit ea354d16ed3b955... [James Burka]
directory Classes/ Tue Feb 10 12:59:06 -0800 2009 [#39] brilliant find Adam! using a custom run l... [vickeryj]
file EditDogViewController.xib Tue Oct 14 12:34:51 -0700 2008 Added when building model puts the id in modelN... [James Burka]
file Info.plist Thu Aug 21 15:27:41 -0700 2008 initial commit of active resource sample app [vickeryj]
file LICENSE Tue Nov 04 05:53:20 -0800 2008 Adding MIT license [rwdaigle]
file MainWindow.xib Tue Feb 10 02:48:54 -0800 2009 Added refresh button to People View [Adam Alexander]
file README.textile Tue Jan 27 08:14:57 -0800 2009 [#15] have build script run test server and pre... [vickeryj]
file Unit Tests-Info.plist Wed Feb 25 13:39:00 -0800 2009 [#53] coverage target [jjburka]
file ViewDogController.xib Tue Oct 14 12:34:51 -0700 2008 Added when building model puts the id in modelN... [James Burka]
directory google_toolbar/ Wed Oct 15 14:55:52 -0700 2008 added the google test unit , rails boot strap [James Burka]
file main.m Thu Aug 21 15:27:41 -0700 2008 initial commit of active resource sample app [vickeryj]
directory objective_resource.xcodeproj/ Thu Jan 29 12:49:19 -0800 2009 [#9] remove ObjectiveResource superclass [vickeryj]
file objective_resource_Prefix.pch Mon Jan 26 06:45:49 -0800 2009 [#12] BIG CHANGE Rename ActiveResource and Ac... [vickeryj]
file package_zip.sh Tue Feb 03 14:19:36 -0800 2009 [#21] fix typo [vickeryj]
directory sample_rails_app/ Thu Jan 29 12:49:19 -0800 2009 [#9] remove ObjectiveResource superclass [vickeryj]
README.textile

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

  1. Download (clone) the objectiveresource project
    1. If you do a git clone, you will need to follow it up with “git submodule init” and “git submodule update”
  2. open the .xcodeproj in XCode for both objectiveresource and your iPhone project
  3. 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.