Blake Watters
408072f733
Add support and tests for inferring entity identifiers from superentity user info. closes #954
2012-12-19 22:21:09 -05:00
Blake Watters
5efcfe2c41
Eliminate remaining use of keyed subscript access
2012-12-10 17:12:53 -05:00
Blake Watters
abe67dcbb5
Eliminate use of keyed subscript access in RKEntityMapping inadvertantly introducing iOS 6.0 dependencies
2012-12-10 10:50:51 -05:00
Blake Watters
79e31b524a
Refactored managed object caches and connection support to enable connecting by multiple atributes that are specified as arrays.
...
* Migrated the caches to return `NSSet` to eliminate duplicate objects when your cache keys overlap
* Introduced new recursive strategy for building cache keys in `RKInMemoryManagedObjectCache`
* Added support for array cache key values in `RKFetchRequestManagedObjectCache`
* Re-enabled a slew of tests that were disabled during 0.20 development
2012-12-06 23:43:34 -05:00
Blake Watters
9672e0a471
Remove use of keyed subscript to access RKEntityIdentificationAttributesUserInfoKey
2012-12-05 23:13:13 -05:00
Blake Watters
a5dc037ef9
Add support for inferring attributes that match the snake-case _id pattern. closes #1047
2012-12-02 14:34:03 -05:00
Blake Watters
cbb3f70571
Eliminate the RKEntityIdentifier class and migrate the functionality into properties on RKEntityMapping
2012-12-02 13:08:52 -05:00
Blake Watters
8dc54a89b2
Major overhaul to the Core Data managed object identification and relationship connection support.
...
* Replaces primary key with `RKEntityIdentifier`
* Add support for use of compound keys for object identification
* Refactor `RKConnectionMapping` to `RKConnectionDescription` and add support for connecting with multiple attributes
* Clarify naming of representation key methods to better match naming conventions
* Add type transformation support for object identification
* Greatly expand test coverage for object identification
* Drop the `NSEntityDescription` category
* Simplify the `RKManagedObjectCaching` protocol
* Add compound key support to the Fetch Request and In Memory Cache implementations
* Replace Kiwi with Specta for tests where contexts are helpful for organization
* Rename `defaultValueForMissingAttribute` to `defaultValueForAttribute`
2012-11-27 10:29:36 -05:00
Blake Watters
f2ff70177c
Merge branch 'development' of github.com:CFKevinRef/RestKit into CFKevinRef-development
2012-11-07 21:59:38 -05:00
Dmitry Shevchenko
628f7323aa
Make entity property readwrite, so it can be changed after init.
2012-10-01 16:47:04 -05:00
Blake Watters
d95fe5cd44
Break out reused functions for object mapping introspection into RKObjectUtilities
2012-09-30 12:49:59 -04:00
Arne Harren
bc7c65f03b
Switch to an embedded variant of LibComponentLogging with prefix RK
2012-09-27 21:47:36 +02:00
Blake Watters
654364af61
Document RKDynamicMappingMatcher and clean up API
2012-09-21 22:59:43 -04:00
Blake Watters
6815ba6444
API refresh for mapping layer. Converted RKObjectMapper to RKMapperOperation. Expanded documentation.
2012-09-21 17:55:32 -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
Jawwad Ahmad
4834da10ea
Call the proper designated initializer in order to resolve connection mappings not being applied.
2012-08-30 13:33:33 -04:00
Blake Watters
8542568159
Invoke designated initializer from RKEntityMapping
2012-08-29 19:00:45 -04:00
Blake Watters
ce6b0829e4
Convert RestKit to ARC
2012-08-28 17:34:58 -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
9fd95cc380
Cleanup test breakage from method signature change
2012-08-15 20:52:12 -04:00
Blake Watters
9fa7a11fcf
Update connection mapping signatures on RKEntityMapping to be more idiomatic
2012-08-15 16:35:54 -04:00
Blake Watters
975e1674a2
Improving assertion error when attempting to configure an entity mapping for an entity with a nil managed object class
2012-08-13 14:14:36 -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
Blake Watters
e952f451fb
Eliminated the use of the ActiveRecord pattern across the library.
2012-07-20 14:48:09 -04:00
Blake Watters
a8f64e7982
Continued cleanup related to managed object context work
2012-07-17 13:44:50 -04:00
Blake Watters
b25a1833b3
Ported RestKit to using managed object contexts with concurrency types. Numerous cleanups and API updates.
2012-07-16 22:47:06 -04:00
Blake Watters
cfa0df1841
Breakthrough on parent/child MOC setup
2012-07-13 14:11:48 -04:00
Blake Watters
f0706dbdbf
Work in progress
...
Conflicts:
Code/CoreData/RKManagedObjectLoader.h
Code/CoreData/RKManagedObjectLoader.m
Code/CoreData/RKManagedObjectMapping.m
Code/CoreData/RKManagedObjectMappingOperation.m
Code/CoreData/RKManagedObjectStore.m
Code/CoreData/RKManagedObjectThreadSafeInvocation.h
Code/CoreData/RKManagedObjectThreadSafeInvocation.m
Code/CoreData/RKSearchableManagedObject.m
Code/ObjectMapping/RKObjectLoader.m
Code/ObjectMapping/RKObjectMapper.h
Code/ObjectMapping/RKObjectMappingOperation.m
RestKit.xcodeproj/project.pbxproj
Tests/Logic/CoreData/RKManagedObjectThreadSafeInvocationTest.m
2012-07-13 13:07:42 -04:00