mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
* 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`
34 lines
1.1 KiB
Objective-C
34 lines
1.1 KiB
Objective-C
//
|
|
// CoreData.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 9/30/10.
|
|
// Copyright (c) 2009-2012 RestKit. All rights reserved.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
|
|
#import <CoreData/CoreData.h>
|
|
#import "ObjectMapping.h"
|
|
#import "RKManagedObjectStore.h"
|
|
#import "RKManagedObjectImporter.h"
|
|
#import "RKManagedObjectMappingOperationDataSource.h"
|
|
#import "RKEntityMapping.h"
|
|
#import "RKManagedObjectCaching.h"
|
|
#import "RKInMemoryManagedObjectCache.h"
|
|
#import "RKFetchRequestManagedObjectCache.h"
|
|
|
|
#import "RKPropertyInspector+CoreData.h"
|
|
#import "NSManagedObjectContext+RKAdditions.h"
|
|
#import "NSManagedObject+RKAdditions.h"
|