ObjectiveResource is an Objective-C port of Ruby on Rails' ActiveResource. It provides a way to serialize objects to and from Rails' standard RESTful web-services (via XML or JSON) and handles much of the complexity involved with invoking web-services of any language from the iPhone.
1
2
3
4
5
6
7
8
9
10
11
@interface Dog : NSObject {
    NSString *name;
    NSString *dogId;
}
@property (nonatomic , retain) NSString *name;
@property (nonatomic , retain) NSString *dogId;
@end

#import "ObjectiveResourceConfig.h"
[ObjectiveResourceConfig setSite:@"http://dogserver.com"];
NSArray *dogs = [Dog findAllRemote];

Testimonies

  • “ObjectiveResource is the coolest thing I've seen all day, maybe all week. Good work guys!” Adrian Pike (via twitter)
  • “me thinks with shovels like this, iPhone apps will be taken up another level the next 6 months. HOT!” Colin Anawaty (via twitter)
  • “Things like this have me chomping at the bit to do iphone development” Tammer Saleh (via twitter)
  • “oh man, objectiveresource looks AWESOME, exactly what I need” Toby Sterrett (via twitter)
  • “OMG!” Pedro P. Candel (via twitter)
getting started screencast Introductory Screencast

Sponsor

The Blue Box Group At Blue Box Group, we eat, breath and sleep Rails. With hosting plans from $10/month, you won't find a better deal anywhere!

News

  • ObectiveResource 1.01 is released. Contains bugfixes and other small tweaks.- Mar. 5, 2009
  • The initial reactions are starting to pour in. Be heard!- Feb. 5, 2009
  • ObjectiveResources v1.0 is released!. Try it out and let us know if you find any issues.- Feb. 5, 2009
  • iPhoneOnRails.com launches to support the ongoing development of ObjectiveResource and other supporting frameworks as well as a general resource for using web-services on the iPhone..- Feb. 5, 2009
  • SliceHost Pro is released to the AppStore; uses ObjectiveResource to integrate with the SliceHost API.- Dec. 18, 2008
© 2009 DigitalToniq, LLC  |  Design by Blazing Emblem  |  Icons by Function