Commit Graph

386 Commits

Author SHA1 Message Date
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
Blake Watters
d3f66418f2 Remove implicit initialization of dataSource for mapping operation as it gets deallocated unde ARC 2012-08-29 13:23:27 -04:00
Blake Watters
fe3b710e9a Add RK prefix to module header files to disambiguate on import from CocoaPods 2012-08-28 21:01:07 -04:00
Blake Watters
ce6b0829e4 Convert RestKit to ARC 2012-08-28 17:34:58 -04:00
Blake Watters
274478448d FIXUP: Merge with "Drop RestKit networking layer in favor of AFNetworking" 2012-08-28 16:32:15 -04:00
Blake Watters
d08046fc5d Remove the mapping provider in favor of response descriptors 2012-08-28 16:31:31 -04:00
Blake Watters
d36aa3291d Drop RestKit networking layer in favor of AFNetworking 2012-08-28 16:17:57 -04:00
Blake Watters
2228cb01bb Drop more mapping convenience methods 2012-08-28 14:23:30 -04:00
Blake Watters
dd11da2a63 Eliminate registerObjectMapping: 2012-08-28 14:14:33 -04:00
Blake Watters
b333e62488 Eliminate and/or depecate numerous mapping API's in favor of simpler usage of attribute, relationship, and connection mappings 2012-08-28 14:14:33 -04:00
Blake Watters
a70b996047 Add assertions for required parameters to request and response descriptors 2012-08-28 14:14:33 -04:00
Blake Watters
0484714a00 Eliminate rootKeyPath from RKMapping. Now encapsulated into RKRequestDescriptor. 2012-08-28 14:14:33 -04:00
Blake Watters
d926e240f8 Introduce RKPropertyMapping abstract superclass for RKAttributeMapping and RKRelationshipMapping.
Add primitives for working with attribute, relationship, and property mapping objects.
2012-08-28 14:14:20 -04:00
Blake Watters
15acf30a66 Eliminate methods wrapping functionality provided by RKConnectionMapping within RKEntityMapping for simplicity and clarity 2012-08-28 13:37:07 -04:00
Blake Watters
00a89d3a4b Add count method to RKMappingResult 2012-08-24 13:15:43 -04:00
Blake Watters
c372a02b29 Add request descriptor class 2012-08-24 09:23:19 -04:00
Blake Watters
3d5d42bd1f Use copy for value properties on response descriptor 2012-08-24 09:22:59 -04:00
Blake Watters
7791604763 Migrate HTTP utility functions into a proper home 2012-08-24 09:22:28 -04:00
Blake Watters
46323ecc2d RKMappingDescriptor -> RKResponseDescriptor 2012-08-24 08:48:29 -04:00
Blake Watters
9a4d3f81a5 Style tweaks 2012-08-23 18:45:08 -04:00
Blake Watters
7c76b493dd Update object loader to properly propagate errors back from mapper 2012-08-23 18:44:46 -04:00
Blake Watters
51f771efcd Generalize status code handling 2012-08-23 14:23:44 -04:00
Blake Watters
d0df342093 Eliminate modern Objective-C dictionary access in favor of method call 2012-08-22 20:08:01 -04:00
Blake Watters
4b09a44f57 License boilerplate 2012-08-20 14:23:10 -04:00
Blake Watters
63743e2263 Initial integration of new RKMappingDescriptor class. Convert RKObjectMapper to ARC 2012-08-17 13:10:37 -04:00
Blake Watters
7084a1fafb Improve description output on RKAttributeMapping 2012-08-17 13:10:07 -04:00
Blake Watters
e7d768dd2f Update RKObjectMapper to return a single NSError on failure. Update error codes 2012-08-17 13:09:47 -04:00
Blake Watters
3b686125b8 Fix references in Examples/ to eliminated RKDirectory class 2012-08-15 08:03:07 -04:00
Blake Watters
0ff963161f Add addAttributeMappingsFromDictionary: 2012-08-14 09:57:28 -04:00
Blake Watters
4d745fcddc Remove duplicate method definitions 2012-08-14 09:57:28 -04:00
Blake Watters
318c880170 Add basic description for inspecting mapping results 2012-08-09 17:13:38 -04:00
Blake Watters
632a1de039 Minor method signature change on serializer 2012-08-07 17:06:57 -04:00
Blake Watters
1463a7d2f8 Cleanup log warnings on OS X related to NSUInteger typedef differences (unsigned int vs unsigned long) 2012-08-07 09:58:30 -04:00
Blake Watters
232b3eb861 Implemented new search engine for managed objects. 2012-08-01 18:12:53 -04:00
Blake Watters
07aadeebdf Reimplemented the managed object store, converted managed object seeder to importer, cleaned up test breakage. 2012-07-26 17:33:35 -04:00
Jawwad Ahmad
8183591ccd Add DEPRECATED_ATTRIBUTE_MESSAGE for a few methods. 2012-07-26 17:04:47 -04:00
Blake Watters
6b315fbd54 Updates to entity cache and other components to operate in parent/child context world. 2012-07-20 14:48:09 -04:00
Blake Watters
e952f451fb Eliminated the use of the ActiveRecord pattern across the library. 2012-07-20 14:48:09 -04:00