Commit Graph

47 Commits

Author SHA1 Message Date
Blake Watters
ebdb8ba5d7 removing b0rked Rails 2010-01-14 15:27:38 -05:00
Blake Watters
83235da2de adding the otrestspecs_rails project to the mix 2010-01-14 15:19:10 -05:00
jeremy@twotoasters.com
9686d78449 add uispec 2010-01-14 09:51:34 -05:00
Blake Watters
263f363186 Fixes to NSNull detection handlers 2009-12-22 10:17:10 -05:00
Jeremy Ellison
fde16d0d88 don't serialize ID param 2009-12-21 11:55:46 -05:00
Jeremy Ellison
5f9e3451a1 fix for NSNull property values 2009-12-20 11:18:36 -05:00
Jeremy Ellison
625400c47c remove eccessive logging 2009-11-17 09:34:32 -05:00
Blake Watters
9c1c6d2f9a Dropping in OTRest code changes from work on GateGuru. Model mapping object creation has some serious issues... 2009-10-03 16:45:06 -04:00
Blake Watters
5292554929 Added typeHint support to handle casting of Booleans. Code needs cleaning up, but functional 2009-10-02 20:53:49 -04:00
Blake Watters
dd828938b8 Work on syntactic sugar for making this library more awesome... 2009-10-02 18:17:01 -04:00
Blake Watters
a8193afb59 Added implementation notes about custom getter/setter methods 2009-10-02 15:54:09 -04:00
Blake Watters
88aa13ece1 Added a comment about what happens 2009-10-02 15:33:31 -04:00
Blake Watters
33213de88b Adding convenience methods and fixed nasty bug involving boxing of BOOL primitives coming back from performSelector 2009-10-02 15:28:00 -04:00
Blake Watters
ce742ec153 Support for requests containing NSArray's of values 2009-10-01 12:01:11 -04:00
Blake Watters
045de795a9 gateguru -> OTRestFramework in comments 2009-09-27 23:14:59 -04:00
Blake Watters
b26c6020b5 Added note about -ObjC 2009-09-25 13:03:16 -04:00
Blake Watters
c52c82145a Added support for tracking all requests via a set of notifications 2009-09-24 17:04:40 -04:00
Blake Watters
08589a1329 Accidental encoding issue 2009-09-22 18:40:18 -04:00
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