Blake Watters
e56754cb65
Add support for mapping of numeric dates encoded in strings via NSNumberFormatter. closes #815
2012-09-25 21:18:03 -04:00
Blake Watters
c6b594e93a
Fix exception that occurs when attempting to build an RKMappingResult after an attempt has been made to map a non-nil, empty response object (such as {})
2012-09-25 11:59:28 -04:00
Blake Watters
c9249bf0dc
Cleanup accidentally committed empty method
2012-09-24 22:45:55 -04:00
Blake Watters
235f5fc579
Fix all build errors in unit tests. Restore execution of core mapping tests.
2012-09-24 22:44:20 -04:00
Blake Watters
b0be4596da
Formatting cleanups
2012-09-24 13:37:54 -04:00
Blake Watters
654364af61
Document RKDynamicMappingMatcher and clean up API
2012-09-21 22:59:43 -04:00
Blake Watters
43be066e0b
Docs touch ups
2012-09-21 22:58:17 -04:00
Blake Watters
6815ba6444
API refresh for mapping layer. Converted RKObjectMapper to RKMapperOperation. Expanded documentation.
2012-09-21 17:55:32 -04:00
Blake Watters
f1231cd4aa
Docs refresh
2012-09-21 17:55:32 -04:00
Blake Watters
7e816904ff
Docs update. Eliminate mappingOperationFromObject:
2012-09-20 19:11:38 -04:00
Blake Watters
04abcb8369
Define errorMessage as an informal protocol for returning error message representations rather than the description method. Document RKErrorMessage.
2012-09-20 08:12:30 -04:00
Blake Watters
3876263039
Document and clean up the RKMappingResult interface
2012-09-20 08:12:29 -04:00
Blake Watters
56e71e9dac
Docs for RKRelationshipMapping
2012-09-20 08:12:29 -04:00
Blake Watters
991ced34da
Docs for mapping operation data source. Still don't love the method names. Maybe we can eliminate this somehow...
2012-09-20 08:12:29 -04:00
Blake Watters
5a20754698
Docs update on RKPropertyMapping
2012-09-20 08:12:29 -04:00
Blake Watters
125efd7418
Add OPTIONS method. closes #800
2012-09-19 10:30:58 -04:00
Blake Watters
52d772f2e0
Misc stylistic touch ups
2012-09-18 15:54:36 -04:00
Blake Watters
742cc2aca9
Merge pull request #931 from diederich/fix/includes
...
3 minor cleanup commits regarding includes / headers
2012-09-16 10:45:33 -07:00
Blake Watters
e1eff40d3d
Docs for property inspector
2012-09-14 10:40:22 -04:00
Stephan Diederich
6e4b1a1600
fix performance of MappingOperation ( #902 )
...
This commit replaces the special handling of unix-timestamps
into the existing dateformatter architecture.
By adding it to the end of the list, it's still present, but doesn't
'cost' anything for all other users.
2012-09-14 16:19:51 +02:00
Stephan Diederich
89fd9d2b95
fix comments
...
NSFormatters are prepended to the list, not appended
2012-09-14 16:16:34 +02:00
Stephan Diederich
1ad0cd380a
remove premature optimization
...
there are currently 3 (not 2) formatters
2012-09-14 16:16:09 +02:00
Stephan Diederich
b984b832c6
fix formatting
2012-09-14 16:03:23 +02:00
Stephan Diederich
3889424b82
remove unnecessary include
2012-09-14 14:42:02 +02:00
Jawwad Ahmad
a32790b42b
Compact RKStringFromRequestMethod and RKRequestMethodFromString.
2012-09-14 08:11:19 -04:00
Blake Watters
ea0fe1eab6
Formatting cleanups
2012-09-12 21:23:09 -04:00
Blake Watters
b40e39813c
License boilerplate
2012-09-12 21:18:45 -04:00
Blake Watters
382f9f8ceb
Kill use of delegate on dynamic mapping in favor of blocks and declarative matching
2012-09-11 18:36:26 -04:00
Blake Watters
216306722f
Add support for no-cache header to require revalidation with the server. fixes #1465
2012-09-10 16:02:15 -04:00
Blake Watters
954fe6bf0b
Add new HTTP utilities for working with dates. Borrowed from SDURLCache
2012-09-09 18:24:23 -04:00
Blake Watters
22a68baf0c
Rework podspec to organize header file imports to match existing RestKit releases
2012-09-05 11:04:42 -04:00
Blake Watters
b1a2677937
Eliminate NSData and NSArray additions categories. Kill date formatter wrapper class
2012-09-04 21:43:37 -04:00
Blake Watters
bd7b084fc0
Move RKMIMETypeSerialization to Support module
2012-09-04 13:27:42 -04:00
Blake Watters
10377d0a70
Overhaul RKParser API's for clarity and simplicity:
...
* Adds support for NSJSONSerialization. closes #476
* Renames RKParser to RKSerialization
* Renames RKParserRegistry to RKMIMETypeSerialization
* Rework serialization implementations API's to use class methods
* Fold together string and regular expression matching for MIME Type registrations
* Port serialization implementations to working off of NSData instead of NSString. refs #762
* Migrate JSONKit to being an optional component. See https://github.com/RestKit/RKJSONKitSerialization
2012-09-04 13:07:31 -04:00
Blake Watters
3eda5832cb
Migrating files between modules to better reflect logical grouping with AFNetworking in the mix
2012-09-03 16:51:13 -04:00
Blake Watters
e67848439c
Migrate to NSData based parsing/serialization. Slim down RKObjectSerializer and rename to RKObjectParameters. refs #762
2012-09-03 16:23:22 -04:00
Jawwad Ahmad
285586a5b5
Some code formatting cleanup.
2012-09-02 13:15:14 -04:00
Jawwad Ahmad
8cbdb5f7ed
Trailing whitespace cleanup from files in the Code directory.
...
Used the following command from within the Code dir:
git ls-files *.m *.h *.json | xargs /usr/bin/sed -i '' -E 's/[[:space:]]*$//'
2012-09-02 12:51:45 -04:00
Jawwad Ahmad
c70ab49457
Delete @synthesize statements that are no longer needed. (Works with current 4.4.1 release of Xcode).
2012-09-02 12:28:45 -04:00
Blake Watters
9c9126c6ce
Adds support for establishing Core Data Relationship connections using keyPath in addition to fetches across the object graph. refs #913
2012-08-31 17:48:07 -04:00
Blake Watters
2cf16be6cb
Add support for performing object mapping with type transformations across relationships defined with keyPaths
2012-08-31 17:47:44 -04:00
Blake Watters
33df114c01
Eliminate NSClassFromString handling for NSOrderedSet since we target iOS 5.0+ now
2012-08-31 17:47:44 -04:00
Jawwad Ahmad
6f2db23566
Add NSAssert to check the self.mutablePropertyMappings variable.
2012-08-30 18:56:33 -04:00
Jawwad Ahmad
c0b6a95e10
Hardcode AFHTTPRequestOperation instead of [self superclass] since this will fail if it is invoked by a subclass.
2012-08-30 15:57:44 -04:00
Blake Watters
4dd5b35aa3
Remove unnecessary manual KVO invocations
2012-08-29 19:17:45 -04:00
Blake Watters
eabfd748b6
Update designated initializer for RKObjectMapping
2012-08-29 18:59:51 -04:00
Blake Watters
9089bb4ed0
Remove baseURL proxy method from the object manager
2012-08-29 18:59:09 -04:00
Blake Watters
709fefe1ea
Add Boolean property to turn on and off orphaned object cleanup
2012-08-29 18:58:48 -04:00
Blake Watters
0cb93e697d
Migrate AFNetworking backed object request operations from GateGuru into RestKit
2012-08-29 13:27:36 -04:00
Blake Watters
fc29fad19e
Add explicit data source initialization to serializer to satisfy ARC
2012-08-29 13:24:15 -04:00