Commit Graph

2511 Commits

Author SHA1 Message Date
Blake Watters
bac54cdece set the userData pointer on model manager request loads. Added missing OCMock files 2010-01-18 14:50:56 -05:00
Blake Watters
aec3dba9f9 Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping 2010-01-18 14:48:03 -05:00
Blake Watters
a74272b123 Reworked error handling substantially. Decoupled OTRestResponse from Rails-isms. All the Rails dependent code is now in the modeling classes. Added numerous helpers on the response class and introduced OCMock to the project 2010-01-18 14:47:59 -05:00
jeremy@twotoasters.com
17bf065d3a add params to otrest model mapper load models 2010-01-15 16:15:26 -05:00
Blake Watters
e8d267c0f0 Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping 2010-01-15 15:48:07 -05:00
jeremy@twotoasters.com
94137ff410 Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping 2010-01-15 13:04:54 -05:00
jeremy@twotoasters.com
10fcdeb338 handle Date objects in adition to DateTimes 2010-01-15 13:04:28 -05:00
Blake Watters
7067c267fc Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping 2010-01-14 16:46:32 -05:00
Blake Watters
bd1ff3d3d1 added support for switching formats 2010-01-14 16:45:15 -05:00
jeremy@twotoasters.com
59686607e0 update data model to work. 2010-01-14 16:22:53 -05:00
Blake Watters
9993db4aa2 fix run build script 2010-01-14 16:10:56 -05:00
Blake Watters
9193f207b7 added support for dynamically setting local IP Address via AppleScript 2010-01-14 16:08:20 -05:00
jeremy@twotoasters.com
c7ba80ae95 added other models to datamodel 2010-01-14 15:58:05 -05:00
Blake Watters
d23852473e adding the Rails project 2010-01-14 15:28:08 -05:00
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