Blake Watters
0a28ecb507
Add optional support for connecting to subentities. fixes #1059
2012-12-19 18:32:32 -05:00
Blake Watters
5efcfe2c41
Eliminate remaining use of keyed subscript access
2012-12-10 17:12:53 -05:00
Blake Watters
f3cd0f6e07
Implemented connectionBlock property on RKRelationshipConnectionOperation for tracking connection status synchronously
2012-12-09 12:21:53 -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
9fc0703d21
Fix crash when attempting to connect a one-to-one relationship that returns an empty result set
2012-11-29 00:22:42 -05:00
Blake Watters
4eb765aad8
Switch to %ld and cast counts to long to suppress warnings on OS X
2012-11-29 00:21:56 -05:00
Blake Watters
adf4a5d49e
Drop RKConnectionMapping, cleanup. Add predicate support
2012-11-27 22:34:55 -05:00
Blake Watters
1196a42e54
Docs for RKConnectionDescription
2012-11-27 22:18:29 -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
3db5307f6a
Add missing test coverage for key path based connection scenarios. Fixes crashes resulting from double collection wrapping during connection.
2012-11-08 19:31:38 -05:00
Blake Watters
45c6e1611e
Add delegate for didFailToConnectRelationship:
2012-11-05 18:38:23 -05:00
Jeff Arena
2cf7d4651d
Add assertion requiring an instance of NSManagedObject in RKRelationshipConnectionOperation.
2012-10-29 12:45:26 -04:00
Jeff Arena
b3adc29535
Add support for connection mappings to the RKManagedObjectImporter.
2012-10-20 14:38:27 -04:00
Blake Watters
1ad2cabf2a
Add decent description method for relationship connection operations
2012-10-15 15:57:38 -04:00
Blake Watters
4c401de6bf
Convert RKConnectionMapping into a subclass of RKPropertyMapping. Add delegate callback for tracking the connection of relationships.
2012-09-29 17:54:51 -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
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
ce6b0829e4
Convert RestKit to ARC
2012-08-28 17:34:58 -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