https://github.com/lukeredpath/restfulcoredata
An attempt to come up with a sane web API to Core Data synching pattern, using the Pivotal Tracker API.
https://github.com/lukeredpath/restfulcoredata
Last synced: 11 months ago
JSON representation
An attempt to come up with a sane web API to Core Data synching pattern, using the Pivotal Tracker API.
- Host: GitHub
- URL: https://github.com/lukeredpath/restfulcoredata
- Owner: lukeredpath
- Created: 2010-03-19T16:50:23.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-03-23T18:58:43.000Z (about 16 years ago)
- Last Synced: 2025-04-02T03:12:21.503Z (about 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 237 KB
- Stars: 155
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project overview
This app uses the uses a basic Rails 3 app with a REST API to explore synching data from a remote API to a local CoreData store.
## Requirements
To get up and running, you'll need the latest Rails 3 beta (to run the demo app). To start up a server for the demo app, inside the SampleRestApp folder, run the following command:
rails server
This will boot up a local server on port 3000, which the iPhone app is configured to use.
You'll also need a copy of [my fork][1] of the [HTTPRiot][2] library, which should be copied
to ~/Library/SDKs.
## What is the point?
The point is to have a reusable means of synching a remote API to a local CoreData stack.
I'm using the HTTPRiot to access the API as its an awesome library for interacting with JSON/XML REST APIs. There is a degree of coupling to its HRRestModel class at the moment but that can be refactored away; its not that important right now.
[1]: http://github.com/lukeredpath/httpriot/
[2]: http://labratrevenge.com/httpriot/docs/