11 Commits

Author SHA1 Message Date
Blake Watters
4c0e62a62a Add new RKManagedObjectStore method for assisting in performing migrations when you have made dynamic modifications to the managed object model (such as when you leverage the Search indexing support) 2013-01-08 18:26:05 -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
6837d0d1b9 Add support for hooking into the RKSearchIndexer via a delegate
* Supports replacing the RKSearchWord fetch strategy to enable caching for performance
* Supports declining creation of search words
* Supports declining of indexing for specific objects
* Supports notification when objects are indexed and search words are added to the index
2012-11-12 16:18:36 -05:00
Blake Watters
1f3f2646b5 Port a few test cases to Expecta syntax 2012-10-18 12:14:34 -04:00
Blake Watters
73bd1f0869 Add support for asynchrous search indexing, cancellation of indexing operations, waiting on indexing to complete. Expand documentation surrounding the indexing context. 2012-10-01 17:37:36 -04:00
Blake Watters
c10321751c Rename primaryManagedObjectContext to persistentStoreManagedObjectContext since nobody can keep its role straight 2012-09-30 22:47:26 -04:00
Jeff Arena
9cd78c2385 Adjust search indexing to use a new indexingContext 2012-09-29 15:20:48 -04:00
Blake Watters
d195ea873c Port passing Logic Test coverage to ARC 2012-09-26 11:35:16 -04:00
Blake Watters
0e8e08e664 Update search indexing method definition for clarity. Added tests for new error cases and added support for specifying searchable attributes using NSAttributeDescription objects in addition to NSString attribute names 2012-08-14 09:57:28 -04:00
Blake Watters
232b3eb861 Implemented new search engine for managed objects. 2012-08-01 18:12:53 -04:00