Glennumz / objectiveresource forked from yfactorial/objectiveresource

A port of Ruby on Rails' ActiveResource to Objective-C (and specifically the iPhone)

This URL has Read+Write access

vickeryj (author)
Tue Feb 03 14:19:36 -0800 2009
commit  4e85c9e01c153b7e09b9b5aa07fb4dfc79debf8c
tree    6f3d94593b98cd145afb74de27b725e8e3f33a3b
parent  02f26c172a5b733ad7791f44aa42822bddde4672
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/ Loading commit data...
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
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/
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/
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.