Commit Graph

2511 Commits

Author SHA1 Message Date
Blake Watters
9a87d05faa Model loader now maps back into specific model instances when loaded using the manager. Prevents duplication of Core Data objects and lets local/remote objects be fully managed by the loader. 2010-03-05 11:07:54 -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
7249484a30 Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-04 14:27:59 -05:00
Blake Watters
01bf6a6f85 Introduced model seeder 2010-03-04 14:27:31 -05:00
jeremy@twotoasters.com
32124e61ec Make RKClient on manager writable so I can swap it out for specs 2010-03-03 15:04:30 -05:00
Blake Watters
9b53788276 Papered over date parsing 2010-03-02 14:31:27 -05:00
Blake Watters
fc5e3c253e Support for reading error messages out of JSON payload. Expanded commenting. 2010-03-02 13:26:01 -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
265e548941 Added dictionaryWithKeysAndObjects initializer. Sick of reversed initializations in the models... 2010-02-24 11:27:27 -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
092bfe3775 Introduced new single global header file for pulling in the RestKit stack. Updated the notification names to be more in line with idiomatic Cocoa naming. 2010-02-19 11:01:12 -05:00
Blake Watters
97b582c091 Fixed delegate signatures for methods that are dispatched through the model mapper. Classes not conforming to the protocol will now generate compiler time warnings instead of encountering crashes at runtime. 2010-02-18 16:12:02 -05:00
Blake Watters
b018819a49 Threaded the model loader. Parsing operations occur in a background thread and then the results are returned to the main thread 2010-02-18 15:18:27 -05:00
Blake Watters
4abe3531ca Fix for contentType inspector methods 2010-02-18 14:54:41 -05:00
Blake Watters
1439eb963f Added synchronous request helpers to the library 2010-02-18 14:31:50 -05:00
Blake Watters
bd694ffb46 Merge lost code from model-mapping branch back in 2010-02-18 12:35:09 -05:00
Blake Watters
fd696644c6 Moved all header files into a RestKit directory for namespacing as a system header path 2010-02-18 11:47:03 -05:00
Blake Watters
e7e66c1b76 Merge branch 'master' of github.com:twotoasters/RestKit 2010-02-18 10:50:41 -05:00
Blake Watters
d7016d154b Header search path update for json-framework 2010-02-18 10:49:47 -05:00
Blake Watters
47d7c90586 Fixed linking 2010-02-17 16:15:58 -05:00
Blake Watters
8035e375b3 Switching to .md for MarkDown love 2010-02-17 16:13:01 -05:00
Blake Watters
6ec592551b Added styling and links to Google Group 2010-02-17 16:12:08 -05:00
Blake Watters
8497da7819 README Update 2010-02-17 14:52:36 -05:00
Blake Watters
27682bdf02 OTRestFramework is now RestKit 2010-02-17 14:44:03 -05:00
Blake Watters
cca4187a40 Misc updates 2010-02-17 12:23:23 -05:00
Blake Watters
e59c0027df Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping 2010-01-21 21:14:27 -05:00
Blake Watters
bc7972b5ac Added first version of UISpec CLI runner 2010-01-21 21:13:59 -05:00
jeremy@twotoasters.com
2c2a3002cc move online/offline notifications into OTRestModelManager 2010-01-21 14:08:32 -05:00
jeremy@twotoasters.com
126fc0f32a refactor how online/offline mode works 2010-01-21 14:04:35 -05:00
jeremy@twotoasters.com
8eb0ca930f go online/offline and delete entire store support 2010-01-20 18:20:56 -05:00
timkerchmar
86a670b940 update to support NSDecimalNumber destination properties in otmodels 2010-01-20 12:01:33 -05:00
jeremy@twotoasters.com
36827bba2f implement http auth 2010-01-19 17:12:24 -05:00
jeremy@twotoasters.com
7f531d8a72 take out lots of logging 2010-01-19 10:44:50 -05:00
Blake Watters
731b22d363 renamed digestJSONDict to digestJSONDictionary 2010-01-19 09:21:41 -05:00