Commit Graph

34 Commits

Author SHA1 Message Date
Jeff Arena
142b89108c fix threading related crashes on OS 3.2/4.0 by switching Core Data thread safety pattern from context locking to using multiple contexts 2010-06-17 16:31:30 -04:00
jeremy@twotoasters.com
0cc8e57a0a Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-18 13:07:23 -04:00
jeremy@twotoasters.com
6d13548121 ensure object is not null 2010-03-18 13:07:04 -04:00
jeremy@twotoasters.com
a5f37852e2 Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-17 10:23:27 -04:00
jeremy@twotoasters.com
162feea6b0 fix dates coming from rails. make loadModels with params use GET 2010-03-17 10:21:45 -04:00
timkerchmar
35d3634197 fixed try/catch syntax 2010-03-16 11:33:27 -04:00
timkerchmar
00069c9772 added exception handling for invalid valueforkeypath calls 2010-03-16 11:16:15 -04:00
jeremy@twotoasters.com
6a8bfcb8f3 make userData retain so that transient objects don't get referenced after getting dealloc'd. Fix RKParams serialization to handle arrays 2010-03-09 17:10:45 -05:00
jeremy@twotoasters.com
a5aef014e2 check to ensure relationshipElements is a dictionary or an array and not nill 2010-03-09 15:55:31 -05:00
jeremy@twotoasters.com
db87576d79 Make associations use set.
Don't set nil properties (properties that are not included in the json/xml)
2010-03-09 12:19:12 -05:00
Blake Watters
59bf5899e6 Fixed warnings 2010-03-05 13:01:34 -05:00
Blake Watters
1fb74dd7f0 Added checks for nil mappable payloads. Will now bail out silently and log a message. 2010-03-05 11:21:51 -05:00
Blake Watters
21b88c3a02 Goodbye spaghetti code! New model mapper is ready to rock. 2010-03-05 10:49:33 -05:00
Blake Watters
e99b429ab4 Added flexibility to parse date formats using an arbitrary number of strings. Added automagic conversion between local and remote time zones. By defaults assumes that the remote system is retuning dates in UTC format. 2010-03-05 10:25:34 -05:00
Blake Watters
0815f4e7a1 Fix warning 2010-03-05 01:10:19 -05:00
Blake Watters
6917886947 Clean up warning 2010-03-05 01:07:41 -05:00
Blake Watters
07c1dcee3a Fixed bugs in specific object dictionary mapper 2010-03-05 00:55:17 -05:00
Blake Watters
0ada83565e Removed deprecated model mapping methods 2010-03-05 00:11:50 -05:00
Blake Watters
d12a3bd88b Cleaned up all warnings. Normalized method names. General cleanup of model mapping API. Shit is getting slick and maintainable! 2010-03-04 23:57:14 -05:00
Blake Watters
dc84d943b8 Checking in work in progress on KVC based model mapping 2010-03-04 17:31:53 -05:00
Blake Watters
c867a5a313 RestKit model mapping refactor strike 1 2010-03-04 15:54:29 -05:00
Blake Watters
9b53788276 Papered over date parsing 2010-03-02 14:31:27 -05:00
Blake Watters
d93011dadf More model mapping improvements... 2010-02-26 13:03:24 -05:00
Blake Watters
db6c8d68c6 Added support for counting objects of a type in the store. More bubble gum for associated object creation on JSON 2010-02-25 14:12:32 -05:00
Blake Watters
1908bfb1d6 Be sure to set the mapping format on the mapper when it is set on the manager. Don't create duplicate objects when mapping from JSON 2010-02-25 12:05:45 -05:00
Blake Watters
044f17c2e1 More nasty ass hacks to the model mapper to get GG out of dry dock 2010-02-25 11:03:25 -05:00
Blake Watters
47b248480c Removed extraneous logging 2010-02-24 14:43:16 -05:00
Blake Watters
6bc5fb6762 Support for model mapping via grouped selectors. The mapper code is due for a refactoring in the very near future. 2010-02-24 14:29:36 -05:00
Blake Watters
efd86b4ca0 RKModelLoader will now forward life-cycle events about requests back to the delegate if they implement the methods. This allows for easy integration with Three20 2010-02-23 15:55:35 -05:00
Blake Watters
ca7bdc96a0 Added helpers for transforming keys to support mapping where element to property mappings are specified in either JSON or XML style. Mapper needs refactoring and cleanup... 2010-02-22 17:48:53 -05:00
Blake Watters
7102bdba1c Use an NSNumberFormatter for parsing out numeric values instead of assuming them to be integers 2010-02-22 15:54:09 -05:00
Blake Watters
a1b62cf014 Introduced new system for handling object cacheing of resourcePaths 2010-02-19 11:59:37 -05:00
Blake Watters
bd694ffb46 Merge lost code from model-mapping branch back in 2010-02-18 12:35:09 -05:00
Blake Watters
27682bdf02 OTRestFramework is now RestKit 2010-02-17 14:44:03 -05:00