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
vickeryj (author)
Wed Jul 29 01:38:30 -0700 2009
commit  d0dd28260f569f0519561dc4f36dd971c641819b
tree    d7ba50910e65d5bb0e047a398e7bf13ed26c85a1
parent  ec579d1bb4930f5fc13bf9f84e77c0e8c3601f3e
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/ Wed Jul 29 01:39:32 -0700 2009 add test for non-retained config strings (cherr... [vickeryj]
file Coverage.plist Wed Feb 25 13:39:00 -0800 2009 [#53] coverage target [jjburka]
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 Feb 26 05:03:27 -0800 2009 [#53] use relative path for Coverage.plist refe... [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/ Sun Mar 22 08:11:25 -0700 2009 Remove dependency on rails 2.1 gem - can use an... [rwdaigle]
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.