Blake Watters
ab6cf9c648
Reworked parsing stuff somewhat and created a new ManagedObjectStore for encapsulating the managed object context and friends
2009-09-22 18:22:13 -04:00
Jeremy Ellison
a6d6c891ce
merge fix, bugfix on #define myContext
2009-09-03 14:20:30 -04:00
Jeremy Ellison
19459eb907
JSON serialization (I believe this is complete)
2009-09-03 14:16:37 -04:00
Jeremy Ellison
01433c62f4
add isNetworkAvailable to OTRestClient
2009-08-31 16:06:05 -04:00
Jeremy Ellison
8f8cffacff
fix className selector mess
2009-08-20 10:58:16 -04:00
Blake Watters
51175ae5a7
Added get:params: convenience method
2009-08-19 16:33:53 -04:00
Jeremy Ellison
24fab60733
Add concept of an OTRestModelManager, it will handle updates/deletes/saves/etc...
2009-08-14 18:44:55 -04:00
Blake Watters
293fa7f09f
Cleanups
2009-08-14 17:28:48 -04:00
Blake Watters
61f28a73cc
Reworked OTRestFramework to de-couple NSManagedObject from the OTRestModelMapper
...
OTRestModelMapper can now map any NSObject implementing the OTRestModelMappable Protocol.
For NSManagedObjects, inherit from OTRestManagedModel to get special sauce.
Don't fuck with the snake.
2009-08-14 15:43:34 -04:00
Blake Watters
023c00a6a7
Cleanup warning
2009-08-11 11:54:28 -04:00
Jeremy Ellison
376897ea88
update errorDescription method
2009-08-11 07:43:52 -04:00
Jeremy Ellison
cf972fce69
* [OTRestModel allObjectsOrderedBy:]
...
* buildModelFromXML: guards against nils
* added error property to OTRestResponse, will get set on connectionDidFail:withError:
* also added errorDescription which either uses the error description or the first <error> element in the document
2009-08-11 06:14:59 -04:00
Jeremy Ellison
46df302f0a
merge conflicts
2009-08-10 13:50:17 -04:00
Jeremy Ellison
f0062eae89
entityName and restId declarations
2009-08-10 13:43:54 -04:00
Jeremy Ellison
5d8c99474d
refactor OTRestModel
2009-08-10 13:09:50 -04:00
Blake Watters
9550fc0cd9
Cleanup
2009-08-09 17:16:55 -04:00
Jeremy Ellison
c0f577da42
Added OTRestModel, which will map properties from xml to a CoreData object, moved OTRestAdditions to ElementParser
2009-08-09 14:03:41 -04:00
Jeremy Ellison
4354db9358
fix warning
2009-08-09 13:29:40 -04:00
Jeremy Ellison
436847b78b
raise exception before trying to instantiate objects of non existant classes
2009-08-08 22:04:36 -04:00
Jeremy Ellison
59e513eb65
OTRestModel updates, now working with getModels:
2009-08-08 21:47:12 -04:00
Blake Watters
425810a409
Updates to the mapper
2009-08-08 17:27:16 -04:00
Blake Watters
b9e74ee2f5
Mapping framework
2009-08-08 17:00:58 -04:00
Jeremy Ellison
8f9aec574c
readme tweak
2009-08-08 12:28:53 -04:00
Jeremy Ellison
bd3f55912f
First cut at a README.
2009-08-08 12:24:47 -04:00
Jeremy Ellison
685b796a38
Element+OTRestAdditions copied in, not relative.
2009-08-08 12:01:46 -04:00
Jeremy Ellison
5d1a1a9abe
project modifications
2009-08-08 11:54:06 -04:00
Jeremy Ellison
846d114c82
OTRest Classes
2009-08-08 11:47:50 -04:00
Jeremy Ellison
bad6024d0f
gitignore file
2009-08-08 11:46:53 -04:00
Jeremy Ellison
f6fde8cbe4
initial project
2009-08-08 11:32:15 -04:00