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
name age message
file .gitignore Sun Mar 22 08:11:25 -0700 2009 Remove dependency on rails 2.1 gem - can use an... [rwdaigle]
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/ Fri Oct 09 14:29:49 -0700 2009 refs #73 fix memory leak [Joshua Vickery]
file Coverage.plist Wed Feb 25 13:39:00 -0800 2009 [#53] coverage target [jjburka]
file EditDogViewController.xib Wed Jul 29 01:19:39 -0700 2009 update project for and switch to sdk 3.0 [vickeryj]
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 Jul 29 01:19:40 -0700 2009 upgrade google toolbox for mac [vickeryj]
directory google_toolbox/ Wed Jul 29 01:19:40 -0700 2009 upgrade google toolbox for mac [vickeryj]
file main.m Thu Aug 21 15:27:41 -0700 2008 initial commit of active resource sample app [vickeryj]
directory objective_resource.xcodeproj/ Wed Jul 29 02:58:36 -0700 2009 add unit test for prefixed people [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/ Wed Jun 03 04:38:46 -0700 2009 In Rails 2.3.2 the Application Controller needs... [stuffmc]
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.