Class

NSMappingModel

Instances of NSMappingModel specify how to map from a source to a destination managed object model.

Symbols

Creating a Mapping

init?(from: [Bundle]?, forSourceModel: NSManagedObjectModel?, destinationModel: NSManagedObjectModel?)

Returns the mapping model to translate data from the source to the destination model.

class func inferredMappingModel(forSourceModel: NSManagedObjectModel, destinationModel: NSManagedObjectModel)

Returns a newly-created mapping model to migrate data from the source to the destination model.

init?(contentsOf: URL?)

Returns a mapping model initialized from a given URL.

Managing Entity Mappings

var entityMappings: [NSEntityMapping]!

The entity mappings for the receiver.

var entityMappingsByName: [String : NSEntityMapping]

The entity mappings for the receiver, keyed by name.

Relationships

Inherits From

Conforms To