Commit Graph

2189 Commits

Author SHA1 Message Date
Blake Watters
f4457f2948 Add MOC reset to the beginning of resetPersistentStores:. closes #1018 2012-12-07 15:06:13 -05:00
Blake Watters
7eef2f2174 Expand documentation about connecting relationships with collection values 2012-12-07 14:46:23 -05:00
Blake Watters
0eb875679d Add proxy attributes enabling pagination mapping configuration under iOS 5. Expand documentation. closes #1040 2012-12-07 14:16:50 -05:00
Blake Watters
b1f57612e1 Add support for replacing the HTTP client on the object manager and mutating the baseURL on the router. closes #1051 2012-12-07 13:49:18 -05:00
Blake Watters
5ef63c68d3 Merge branch 'bugfix/inappropriate-objectrequestoperations' into development 2012-12-07 12:40:18 -05:00
Blake Watters
997158e9e6 Fix issues with incorrect determination of the appropriate object request operation. fixes #1054, #1056
* Expands test coverage for the `appropriateObjectRequestOperationWithObject:method:path:parameters:`
* Uses an object graph visitor to completely navigate the mapping graph, ensuring that an `RKEntityMapping` appearing at any nesting level will be correctly handled
2012-12-07 12:40:02 -05:00
Sam Krishna
0210424c6c Added proper support for RKDynamicMapping as a container for RKEntityMappings inside of RKObjectManager. 2012-12-07 11:41:33 -05:00
Blake Watters
fe6e8597ee Fix incorrectly configuring identification attribute in Twitter Core Data example 2012-12-06 23:52:08 -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
07c22fb3a0 Merge pull request #1052 from lassebm/bump-afnetworking-version
Bump AFNetworking version to 1.0.1
2012-12-06 05:51:44 -08:00
Blake Watters
9672e0a471 Remove use of keyed subscript to access RKEntityIdentificationAttributesUserInfoKey 2012-12-05 23:13:13 -05:00
Blake Watters
9a04de975e Re-enable publishing of the Atom feed 2012-12-05 21:48:02 -05:00
Lasse Bang Mikkelsen
1e23b1c037 Bumped AFNetworking version to 1.0.1 2012-12-03 20:56:35 +01:00
Blake Watters
2b9c7ca275 Bump version of Podspec to pre3 on development 2012-12-02 15:56:45 -05:00
Blake Watters
f9875f8bfa Merge branch 'release/0.20.0-pre2' into development 2012-12-02 14:47:42 -05:00
Blake Watters
971083eacd Bump ersion to pre2 2012-12-02 14:34:17 -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
6e03b0cac2 Set numerous files in the RestKitFramework target to Public. closes #1050 2012-12-02 10:15:05 -05:00
Blake Watters
ff1de2b740 Fix incorrect header comment in documentation of RKRequestDescriptor. fixes #1048 2012-12-02 00:28:19 -05:00
Blake Watters
80f5f7af56 Update README to match updated method signature for the entity by attribute cache 2012-12-02 00:24:14 -05:00
Blake Watters
ddbd1e1f95 Fix inappropriate managed object context reference in [RKEntityByAttributeCache addObject:] 2012-12-02 00:23:49 -05:00
Blake Watters
c9e222fdc6 Fix documentation error in RKDynamicMapping header 2012-12-01 16:34:14 -05:00
Blake Watters
89d0294dcd Expose access to the RKMapperOperationDelegate to RKObjectRequestOperation subclasses. closes #1009 2012-11-29 23:35:45 -05:00
Blake Watters
648b159f9a Remove dead code 2012-11-29 23:35:37 -05:00
Blake Watters
a69f06c278 Update references to RKConnectionMapping -> RKConnectionDescription in README 2012-11-29 07:41:44 -05:00
Blake Watters
c063c3ff61 Merge branch 'release/0.20.0-pre1' into development 2012-11-29 00:27:17 -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
a39a1e02eb Tagging Podspec version 2012-11-28 23:30:20 -05:00
Blake Watters
7776826ea2 Bumping VERSION to 0.20.0-pre1 2012-11-28 23:29:22 -05:00
Blake Watters
c2345755cc Merge branch 'feature/unify-primary-key-and-connections' into development 2012-11-28 23:27:10 -05:00
Blake Watters
66b046b177 Add a 'Build All Examples' shared scheme to the Workspace 2012-11-28 23:26:43 -05:00
Blake Watters
41f85d84de Ensure RKConnectionDescription is Public 2012-11-28 23:26:08 -05:00
Blake Watters
b6d4412415 Refresh Twitter examples and port to RKEntityIdentifier 2012-11-28 23:25:48 -05:00
Blake Watters
1318edd082 Add docs about using the user info to configure an entity identifier 2012-11-28 22:56:56 -05:00
Blake Watters
b502f5431b Drop the entity description category entirely 2012-11-28 22:52:39 -05:00
Blake Watters
b045520e98 Add Apache license boilerplate to unadorned Core Data files 2012-11-28 22:46:36 -05:00
Blake Watters
a31c537492 Finish documentation for RKEntityMapping to cover Entity Identification and Connections 2012-11-28 22:45:27 -05:00
Blake Watters
8bcfd47270 Header docs for entity identifier 2012-11-27 23:24:03 -05:00
Blake Watters
03ee8d005f Docs cleanup 2012-11-27 22:45:26 -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
f3a853e871 Drop RK prefix from entity names 2012-11-23 22:19:12 -05:00
Blake Watters
2cf39a15e1 Remove RKCatalog server submodule reference 2012-11-19 19:58:59 -05:00
Blake Watters
7888a55f6c Remove the ignoreUnknownKeyPaths option. closes #840 2012-11-19 19:21:24 -05:00
Blake Watters
36c60608b2 Add support for transforming source to destination key paths using a block. This enables one to DRY up mapping configuration. 2012-11-19 18:53:13 -05:00
Blake Watters
0aeb5f6de4 Restore paginator integration in Object Manager 2012-11-19 12:01:07 -05:00
Blake Watters
9d14bfe395 Rev docs for willMapDeserializedResponseBlock. refs #900 2012-11-18 22:54:05 -05:00