Blake Watters
dcc16d5293
Update to reflect renamed RKDynamicObjectMapping class. closes #766
2012-07-11 11:03:57 -04:00
Camilo López
2ef10ee8e6
*iovalue = [(NSString*)iovalue uppercaseString];
...
->
*ioValue = [(NSString*)ioValue uppercaseString];
2012-05-16 18:22:34 -04:00
Blake Watters
995c30907b
Removed references to RestKit/CoreData/CoreData.h from OM docs in Docs/. closes #572
2012-03-12 18:35:02 -04:00
Aneil Mallavarapu
776de2290b
Added documentation for handling GET and POST params.
2012-02-24 12:08:23 -05:00
Blake Watters
bd5612314b
Remove unnecessary attribute mapping. closes #537
2012-02-15 13:35:22 -05:00
Andrew Sardone
31f595335a
Fix typo in RKObjectMapping w/ relationship example
2011-10-20 12:44:21 -04:00
Greg Combs
68afe008f7
Merge pull request #328 from mutewinter/patch-1
...
Fixed a few typos and formatting errors.
2011-09-16 08:13:43 -07:00
Greg Combs
64d496672e
Changed reference of 'email' to 'username' in nested example. Fixes #340 .
2011-09-11 19:53:44 -05:00
Greg Combs
e38562ffce
Introduces RKPathMatcher. This is basically a dressed up front end to jverkoey/SOCKit. Using this will make it very easy to do complex things with patterns, resource paths, and object property interpolation thereof. Whereas RKMakePathWithObject() once took parenthesized parameters like "/stuff/(things)" it now uses colons like "/stuff/:things". It has specs and updated header docs where appropriate. Closes #305 .
2011-09-06 15:51:18 -05:00
Jeremy Mack
ca32f120b9
Fixed another list without a preceding newline.
2011-09-05 23:07:05 -03:00
Jeremy Mack
b8cd8219b8
One more typo.
2011-09-05 23:03:43 -03:00
Jeremy Mack
db82df19eb
Fixed a few typos and formatting errors.
...
Added a space before a numbered list so Markdown would properly format it.
2011-09-05 22:59:09 -03:00
Blake Watters
4e03ba7bef
Renamed Polymorphic mapping to dynamic mapping after consulting with the community. Dropped abstract superclass in favor of a RKObjectMappingDefinition protocol. Caught missing cases with dynamic object mapping + targetObject. Updated docs and method signatures to reflect the updates.
2011-07-31 19:37:42 -04:00
Blake Watters
eab35ef3f7
Updated polymorphic mapping to use valueForKeyPath. Slight updates to the documentation. refs #105
2011-07-30 16:18:14 -04:00
Blake Watters
670234b775
Added support for polymorphic object mapping (Github #105 , #244 ). This enables you to dynamically map objects to different destination classes or using different mapping strategies via configuration or callbacks. See Docs/Object Mapping.md for details.
...
Other changes include:
* Eliminated the RKObjectFactory protocol and implementations. Object mapping instances themselves are
now responsible for instantiating target objects for mapping.
* Introduced RKObjectAbstractMapping superclass for RKObjectMapping and RKObjectPolymorphicMapping.
* Updated example applications to use block object loaders (RKTwitter and RKTwitterCoreData)
* Refactored method signatures of RKObjectMapper, RKObjectMapping, and RKObjectMappingProvider to reflect the
existence of abstract mapping types. This was necessary to make polymorphic mappings integrate cleanly.
* Fixed overlap in RestKit error domains between network and object mapping. fixes #208
2011-07-30 16:00:36 -04:00
pkthor
1eb6ae24a6
Added objc formatting tag to paragraph in Handling Dynamic Nesting Attributes section
2011-07-27 20:20:58 -06:00
Blake Watters
7ac588fccc
Added missing bracket
2011-07-24 12:31:54 -04:00
Blake Watters
a0cb33d391
Updates comments on inferMappingsFromObjectTypes and add documentation to the Object Mapping document. Defaulted it to off
...
as it can complicate things for KVC mappable data.
2011-07-24 12:28:42 -04:00
Blake Watters
570b13ca07
Updated Object Mapping documentation, added support for inferring object mappings based off of the type of the object used in postObject:, putObject:, etc. Made KVC validation optional.
2011-07-23 23:47:03 -04:00